Commit 9bcd1069 by olly Committed by Oliver Woodman

Blacklist CIPVorbisDecoder.

Issue: #1111
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=111326378
parent 18a39f33
...@@ -184,10 +184,12 @@ public final class MediaCodecUtil { ...@@ -184,10 +184,12 @@ public final class MediaCodecUtil {
} }
// Work around broken audio decoders. // Work around broken audio decoders.
if ((Util.SDK_INT < 18 && "CIPAACDecoder".equals(name)) if (Util.SDK_INT < 21
|| (Util.SDK_INT < 18 && "CIPMP3Decoder".equals(name)) && ("CIPAACDecoder".equals(name))
|| (Util.SDK_INT < 20 && "AACDecoder".equals(name)) || "CIPMP3Decoder".equals(name)
|| (Util.SDK_INT < 20 && "MP3Decoder".equals(name))) { || "CIPVorbisDecoder".equals(name)
|| "AACDecoder".equals(name)
|| "MP3Decoder".equals(name)) {
return false; return false;
} }
......
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