mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-05 13:45:37 +01:00
avformat: use avpriv_mpeg4audio_get_config2()
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -53,7 +53,7 @@ static int adts_decode_extradata(AVFormatContext *s, ADTSContext *adts, const ui
|
||||
int off;
|
||||
|
||||
init_get_bits(&gb, buf, size * 8);
|
||||
off = avpriv_mpeg4audio_get_config(&m4ac, buf, size * 8, 1);
|
||||
off = avpriv_mpeg4audio_get_config2(&m4ac, buf, size, 1, s);
|
||||
if (off < 0)
|
||||
return off;
|
||||
skip_bits_long(&gb, off);
|
||||
|
||||
Reference in New Issue
Block a user