summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg4audio.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-25 19:59:35 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:03 -0300
commitc57d07c3d52ac303ee6201dd337694634997958f (patch)
treeb2e43aca604f9b763d187cc8b2cb6544d7dc022b /libavcodec/mpeg4audio.c
parentc197e3fe12154640f8234311382d82382c428936 (diff)
avcodec/mpeg4audio: Remove avpriv_mpeg4audio_get_config
Superseded by avpriv_mpeg4audio_get_config2. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mpeg4audio.c')
-rw-r--r--libavcodec/mpeg4audio.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libavcodec/mpeg4audio.c b/libavcodec/mpeg4audio.c
index 2286303b54..be50de9052 100644
--- a/libavcodec/mpeg4audio.c
+++ b/libavcodec/mpeg4audio.c
@@ -169,24 +169,6 @@ int ff_mpeg4audio_get_config_gb(MPEG4AudioConfig *c, GetBitContext *gb,
return specific_config_bitindex - start_bit_index;
}
-#if LIBAVCODEC_VERSION_MAJOR < 59
-int avpriv_mpeg4audio_get_config(MPEG4AudioConfig *c, const uint8_t *buf,
- int bit_size, int sync_extension)
-{
- GetBitContext gb;
- int ret;
-
- if (bit_size <= 0)
- return AVERROR_INVALIDDATA;
-
- ret = init_get_bits(&gb, buf, bit_size);
- if (ret < 0)
- return ret;
-
- return ff_mpeg4audio_get_config_gb(c, &gb, sync_extension, NULL);
-}
-#endif
-
int avpriv_mpeg4audio_get_config2(MPEG4AudioConfig *c, const uint8_t *buf,
int size, int sync_extension, void *logctx)
{