mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00: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
1 changed files with 2 additions and 1 deletions
|
|
@ -183,8 +183,9 @@ public final class MediaCodecUtil {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Work around broken AAC decoders.
|
||||
// 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))) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue