[FFmpeg-devel] [PATCH] latmenc: remove dead code.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Apr 9 00:10:03 CEST 2012


Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
 libavformat/latmenc.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index c71f78b..c8d7715 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? */
 
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list