latmenc: remove dead code.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
5735f768b0
commit
e6ad943734
@ -51,14 +51,11 @@ static const AVClass latm_muxer_class = {
|
|||||||
|
|
||||||
static int latm_decode_extradata(LATMContext *ctx, uint8_t *buf, int size)
|
static int latm_decode_extradata(LATMContext *ctx, uint8_t *buf, int size)
|
||||||
{
|
{
|
||||||
GetBitContext gb;
|
|
||||||
MPEG4AudioConfig m4ac;
|
MPEG4AudioConfig m4ac;
|
||||||
|
|
||||||
init_get_bits(&gb, buf, size * 8);
|
|
||||||
ctx->off = avpriv_mpeg4audio_get_config(&m4ac, buf, size * 8, 1);
|
ctx->off = avpriv_mpeg4audio_get_config(&m4ac, buf, size * 8, 1);
|
||||||
if (ctx->off < 0)
|
if (ctx->off < 0)
|
||||||
return ctx->off;
|
return ctx->off;
|
||||||
skip_bits_long(&gb, ctx->off);
|
|
||||||
|
|
||||||
/* FIXME: are any formats not allowed in LATM? */
|
/* FIXME: are any formats not allowed in LATM? */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user