Browse Source

avformat/latmenc: use init_get_bits8()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
77e37c34cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/latmenc.c

+ 1
- 1
libavformat/latmenc.c View File

@@ -124,7 +124,7 @@ static void latm_write_frame_header(AVFormatContext *s, PutBitContext *bs)

if (!ctx->channel_conf) {
GetBitContext gb;
init_get_bits(&gb, avctx->extradata, avctx->extradata_size * 8);
init_get_bits8(&gb, avctx->extradata, avctx->extradata_size);
skip_bits_long(&gb, ctx->off + 3);
avpriv_copy_pce_data(bs, &gb);
}


Loading…
Cancel
Save