mirror of
https://github.com/androidx/media.git
synced 2025-05-10 00:59:51 +08:00
Don't use CIPMP3Decoder.
Issue: #1000 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=109318738
This commit is contained in:
parent
46481fabcc
commit
20e3ca73ec
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user