Fix condition for working around broken decoders.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=127102633
This commit is contained in:
andrewlewis 2016-07-11 10:45:24 -07:00 committed by Oliver Woodman
parent bcca373f5b
commit c936aee412

View File

@ -213,11 +213,11 @@ public final class MediaCodecUtil {
// Work around broken audio decoders.
if (Util.SDK_INT < 21
&& ("CIPAACDecoder".equals(name))
&& ("CIPAACDecoder".equals(name)
|| "CIPMP3Decoder".equals(name)
|| "CIPVorbisDecoder".equals(name)
|| "AACDecoder".equals(name)
|| "MP3Decoder".equals(name)) {
|| "MP3Decoder".equals(name))) {
return false;
}
// Work around https://github.com/google/ExoPlayer/issues/398