Skip to content

Commit ebd06bd

Browse files
authored
Improve comment
1 parent d1f3f15 commit ebd06bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/util/ListHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ static int getHighestQualityAudioIndex(@Nullable final MediaFormat format,
377377
static int getMostCompactAudioIndex(@Nullable final MediaFormat format,
378378
@Nullable final List<AudioStream> audioStreams) {
379379
return getAudioIndexByHighestRank(format, audioStreams,
380-
// The "-" is important -> Compares ascending (first = highest rank)
380+
// The "reversed()" is important -> Compares ascending (first = highest rank)
381381
getAudioStreamComparator(AUDIO_FORMAT_EFFICIENCY_RANKING).reversed());
382382
}
383383

0 commit comments

Comments
 (0)