diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-06-06 13:20:17 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-02-07 18:27:21 +0100 |
commit | a25dac976a4478331e4db86d44c3db4456c93eff (patch) | |
tree | be0638f8ebcb9e00dfdad10a73d0fc5ccee03293 /libavcodec/truespeech.c | |
parent | 71a49fe25f2e4468fbbadbebef8d073b1b3cc1a5 (diff) | |
download | ffmpeg-a25dac976a4478331e4db86d44c3db4456c93eff.tar.gz |
Use bitstream_init8() where appropriate
Diffstat (limited to 'libavcodec/truespeech.c')
-rw-r--r-- | libavcodec/truespeech.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c index 48e2126ba6..6b9afaedda 100644 --- a/libavcodec/truespeech.c +++ b/libavcodec/truespeech.c @@ -82,7 +82,7 @@ static void truespeech_read_frame(TSContext *dec, const uint8_t *input) BitstreamContext bc; dec->bdsp.bswap_buf((uint32_t *) dec->buffer, (const uint32_t *) input, 8); - bitstream_init(&bc, dec->buffer, 32 * 8); + bitstream_init8(&bc, dec->buffer, 32); dec->vector[7] = ts_codebook[7][bitstream_read(&bc, 3)]; dec->vector[6] = ts_codebook[6][bitstream_read(&bc, 3)]; |