Commit 20e3ca73 by andrewlewis Committed by Oliver Woodman

Don't use CIPMP3Decoder.

Issue: #1000
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=109318738
parent 46481fab
...@@ -183,8 +183,9 @@ public final class MediaCodecUtil { ...@@ -183,8 +183,9 @@ public final class MediaCodecUtil {
return false; return false;
} }
// Work around broken AAC decoders. // Work around broken audio decoders.
if ((Util.SDK_INT < 18 && "CIPAACDecoder".equals(name)) if ((Util.SDK_INT < 18 && "CIPAACDecoder".equals(name))
|| (Util.SDK_INT < 18 && "CIPMP3Decoder".equals(name))
|| (Util.SDK_INT < 20 && "AACDecoder".equals(name))) { || (Util.SDK_INT < 20 && "AACDecoder".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