diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-09-09 14:50:33 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-03 03:26:33 +0100 |
commit | 7cb35d49547e64c0bbd7e66e489e954f16b823c5 (patch) | |
tree | d1226b3590f6705ffb80707fcaff75a93900a030 | |
parent | 457f869b73ff9c49486c31a6574eb6601f8eb2d1 (diff) | |
download | ffmpeg-7cb35d49547e64c0bbd7e66e489e954f16b823c5.tar.gz |
cljr: init_get_bits size in bits instead of bytes
(cherry picked from commit 0c1f5b93d9b97c4cc3684ba91a040e90bfc760d2)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r-- | libavcodec/cljr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cljr.c b/libavcodec/cljr.c index 9f7ab61efd..39ac7d6d26 100644 --- a/libavcodec/cljr.c +++ b/libavcodec/cljr.c @@ -60,7 +60,7 @@ static int decode_frame(AVCodecContext *avctx, p->pict_type= FF_I_TYPE; p->key_frame= 1; - init_get_bits(&a->gb, buf, buf_size); + init_get_bits(&a->gb, buf, buf_size * 8); for(y=0; y<avctx->height; y++){ uint8_t *luma= &a->picture.data[0][ y*a->picture.linesize[0] ]; |