diff --git a/library/src/main/java/com/sonymobile/android/media/internal/ISOBMFFParser.java b/library/src/main/java/com/sonymobile/android/media/internal/ISOBMFFParser.java index bdce528..5718fc0 100644 --- a/library/src/main/java/com/sonymobile/android/media/internal/ISOBMFFParser.java +++ b/library/src/main/java/com/sonymobile/android/media/internal/ISOBMFFParser.java @@ -2419,7 +2419,7 @@ private boolean parseESDS(byte[] esds) { return false; } - if (boxIsUnder(BOX_ID_MP4A)) { + if (boxIsUnder(BOX_ID_MP4A) || boxIsUnder(BOX_ID_ENCA)) { if (esds[offset] == 0x6B) { mCurrentMediaFormat.setString(MediaFormat.KEY_MIME, MimeType.MPEG_AUDIO); mCurrentTrack.getMetaData().addValue(KEY_MIME_TYPE, MimeType.MPEG_AUDIO);