summaryrefslogtreecommitdiffstats
path: root/libavcodec/aacdec_template.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-09-21 19:57:11 -0300
committerJames Almer <jamrial@gmail.com>2019-09-27 10:37:11 -0300
commitf96a8b015f2fa62b18a613ebdb3c26da50951652 (patch)
tree987a30dc2e3eeceaa605a29176ead08fa77f2c9e /libavcodec/aacdec_template.c
parentbb697f30ab28604c57f4ac396f31116fd765d4b8 (diff)
downloadffmpeg-streaming-f96a8b015f2fa62b18a613ebdb3c26da50951652.zip
ffmpeg-streaming-f96a8b015f2fa62b18a613ebdb3c26da50951652.tar.gz
avcodec/mpeg4audio: add avpriv_mpeg4audio_get_config2()
Identical to avpriv_mpeg4audio_get_config() except taking a size argument in bytes, and featuring a new logging context paremeter. Schedule avpriv_mpeg4audio_get_config() for removal as soon as major is bumped as well. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/aacdec_template.c')
-rw-r--r--libavcodec/aacdec_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c
index 6e086e0..8726c8b 100644
--- a/libavcodec/aacdec_template.c
+++ b/libavcodec/aacdec_template.c
@@ -975,7 +975,7 @@ static int decode_audio_specific_config_gb(AACContext *ac,
int i, ret;
GetBitContext gbc = *gb;
- if ((i = ff_mpeg4audio_get_config_gb(m4ac, &gbc, sync_extension)) < 0)
+ if ((i = ff_mpeg4audio_get_config_gb(m4ac, &gbc, sync_extension, avctx)) < 0)
return AVERROR_INVALIDDATA;
if (m4ac->sampling_index > 12) {
OpenPOWER on IntegriCloud