mirror of
https://github.com/androidx/media.git
synced 2025-05-14 02:59:52 +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.
|
// Work around broken audio decoders.
|
||||||
if ((Util.SDK_INT < 18 && "CIPAACDecoder".equals(name))
|
if (Util.SDK_INT < 21
|
||||||
|| (Util.SDK_INT < 18 && "CIPMP3Decoder".equals(name))
|
&& ("CIPAACDecoder".equals(name))
|
||||||
|| (Util.SDK_INT < 20 && "AACDecoder".equals(name))
|
|| "CIPMP3Decoder".equals(name)
|
||||||
|| (Util.SDK_INT < 20 && "MP3Decoder".equals(name))) {
|
|| "CIPVorbisDecoder".equals(name)
|
||||||
|
|| "AACDecoder".equals(name)
|
||||||
|
|| "MP3Decoder".equals(name)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user