mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-05 23:00:02 +00:00
Support more atrac3-in-mkv samples.
The mkv demuxer sometimes finds 12 bytes of realmedia extradata after the matroska real audio properties.
This commit is contained in:
parent
2c5e4ae291
commit
034a125c8c
@ -908,7 +908,7 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx)
|
||||
avctx->channels, frame_factor);
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
} else if (avctx->extradata_size == 10) {
|
||||
} else if (avctx->extradata_size == 12 || avctx->extradata_size == 10) {
|
||||
/* Parse the extradata, RM format. */
|
||||
version = bytestream_get_be32(&edata_ptr);
|
||||
samples_per_frame = bytestream_get_be16(&edata_ptr);
|
||||
|
Loading…
Reference in New Issue
Block a user