aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-08 21:32:20 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-11 21:46:33 +0200
commite6ad9437346a78535df78efda3710e890e2586d6 (patch)
tree2a4dad75d52ba832642b758fa443244c4f1c0e17 /libavformat
parent5735f768b0b6d2f71478636502ba1e42f1a9a788 (diff)
downloadffmpeg-e6ad9437346a78535df78efda3710e890e2586d6.tar.gz
latmenc: remove dead code.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat')
-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? */