summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/latmenc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index c71f78b78a..c8d77151a4 100644
--- a/libavformat/latmenc.c
+++ b/libavformat/latmenc.c
@@ -51,14 +51,11 @@ static const AVClass latm_muxer_class = {
static int latm_decode_extradata(LATMContext *ctx, uint8_t *buf, int size)
{
- GetBitContext gb;
MPEG4AudioConfig m4ac;
- init_get_bits(&gb, buf, size * 8);
ctx->off = avpriv_mpeg4audio_get_config(&m4ac, buf, size * 8, 1);
if (ctx->off < 0)
return ctx->off;
- skip_bits_long(&gb, ctx->off);
/* FIXME: are any formats not allowed in LATM? */