Blacklist CIPVorbisDecoder.

Issue: #1111
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=111326378
This commit is contained in:
olly 2016-01-04 09:04:30 -08:00 committed by Oliver Woodman
parent 18a39f3350
commit 9bcd1069b1

View File

@ -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;
} }