Fix condition for working around broken decoders.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=127102633
This commit is contained in:
parent
bcca373f5b
commit
c936aee412
@ -213,11 +213,11 @@ public final class MediaCodecUtil {
|
|||||||
|
|
||||||
// Work around broken audio decoders.
|
// Work around broken audio decoders.
|
||||||
if (Util.SDK_INT < 21
|
if (Util.SDK_INT < 21
|
||||||
&& ("CIPAACDecoder".equals(name))
|
&& ("CIPAACDecoder".equals(name)
|
||||||
|| "CIPMP3Decoder".equals(name)
|
|| "CIPMP3Decoder".equals(name)
|
||||||
|| "CIPVorbisDecoder".equals(name)
|
|| "CIPVorbisDecoder".equals(name)
|
||||||
|| "AACDecoder".equals(name)
|
|| "AACDecoder".equals(name)
|
||||||
|| "MP3Decoder".equals(name)) {
|
|| "MP3Decoder".equals(name))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Work around https://github.com/google/ExoPlayer/issues/398
|
// Work around https://github.com/google/ExoPlayer/issues/398
|
||||||
|
Loading…
x
Reference in New Issue
Block a user