mirror of
https://github.com/samsonjs/media.git
synced 2026-04-03 10:55:48 +00:00
blacklisted broken mp3 decoder on api lower than 20
This commit is contained in:
parent
558ae15a77
commit
7fce590db2
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue