From e6ad9437346a78535df78efda3710e890e2586d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 8 Apr 2012 21:32:20 +0200 Subject: [PATCH] latmenc: remove dead code. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger --- libavformat/latmenc.c | 3 --- 1 file changed, 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? */