Commit c936aee4 by andrewlewis Committed by Oliver Woodman

Fix condition for working around broken decoders.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=127102633
parent bcca373f
...@@ -213,11 +213,11 @@ public final class MediaCodecUtil { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment