Commit 7fce590d by yauhen

blacklisted broken mp3 decoder on api lower than 20

parent 558ae15a
......@@ -186,7 +186,8 @@ public final class MediaCodecUtil {
// Work around broken audio decoders.
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))
|| (Util.SDK_INT < 20 && "MP3Decoder".equals(name))) {
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