[FFmpeg-cvslog] latmenc: remove dead code.

Reimar Döffinger git at videolan.org
Wed Apr 11 21:47:49 CEST 2012


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sun Apr  8 21:32:20 2012 +0200| [e6ad9437346a78535df78efda3710e890e2586d6] | committer: Reimar Döffinger

latmenc: remove dead code.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e6ad9437346a78535df78efda3710e890e2586d6
---

 libavformat/latmenc.c |    3 ---
 1 files changed, 0 insertions(+), 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? */
 



More information about the ffmpeg-cvslog mailing list