Improve comment

This commit is contained in:
Stypox 2022-08-06 11:56:00 +02:00 committed by GitHub
parent dd19d2a5fb
commit 43fd5a75bf

View file

@ -377,7 +377,7 @@ public final class ListHelper {
static int getMostCompactAudioIndex(@Nullable final MediaFormat format,
@Nullable final List<AudioStream> audioStreams) {
return getAudioIndexByHighestRank(format, audioStreams,
// The "-" is important -> Compares ascending (first = highest rank)
// The "reversed()" is important -> Compares ascending (first = highest rank)
getAudioStreamComparator(AUDIO_FORMAT_EFFICIENCY_RANKING).reversed());
}