summaryrefslogtreecommitdiffstats
path: root/libavcodec/metasound.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-06-06 13:20:17 +0200
committerDiego Biurrun <diego@biurrun.de>2017-02-07 18:27:21 +0100
commita25dac976a4478331e4db86d44c3db4456c93eff (patch)
treebe0638f8ebcb9e00dfdad10a73d0fc5ccee03293 /libavcodec/metasound.c
parent71a49fe25f2e4468fbbadbebef8d073b1b3cc1a5 (diff)
downloadffmpeg-streaming-a25dac976a4478331e4db86d44c3db4456c93eff.zip
ffmpeg-streaming-a25dac976a4478331e4db86d44c3db4456c93eff.tar.gz
Use bitstream_init8() where appropriate
Diffstat (limited to 'libavcodec/metasound.c')
-rw-r--r--libavcodec/metasound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/metasound.c b/libavcodec/metasound.c
index ac6d9cd..4cd9051 100644
--- a/libavcodec/metasound.c
+++ b/libavcodec/metasound.c
@@ -172,7 +172,7 @@ static int metasound_read_bitstream(AVCodecContext *avctx, TwinVQContext *tctx,
BitstreamContext bc;
int i, j, k;
- bitstream_init(&bc, buf, buf_size * 8);
+ bitstream_init8(&bc, buf, buf_size);
for (tctx->cur_frame = 0; tctx->cur_frame < tctx->frames_per_packet;
tctx->cur_frame++) {
OpenPOWER on IntegriCloud