mirror of
https://github.com/androidx/media.git
synced 2025-05-13 18:50:02 +08:00
Blacklist CIPVorbisDecoder.
Issue: #1111 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=111326378
This commit is contained in:
parent
18a39f3350
commit
9bcd1069b1
@ -184,10 +184,12 @@ 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 && "MP3Decoder".equals(name))) {
|
||||
if (Util.SDK_INT < 21
|
||||
&& ("CIPAACDecoder".equals(name))
|
||||
|| "CIPMP3Decoder".equals(name)
|
||||
|| "CIPVorbisDecoder".equals(name)
|
||||
|| "AACDecoder".equals(name)
|
||||
|| "MP3Decoder".equals(name)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user