summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2011-09-09 14:50:33 -0700
committerReinhard Tartler <siretart@tauware.de>2011-09-26 19:26:32 +0200
commit384ed15c2a81812757ecd182f01256f7426af290 (patch)
tree210a4755bde82fae6e2aaea979abb2940da6cd7b
parent6550e2b5c51cf7d3d40f666f6966b57f622ffffc (diff)
downloadffmpeg-384ed15c2a81812757ecd182f01256f7426af290.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cljr.c b/libavcodec/cljr.c
index e2b01e2a6a..b83919e71d 100644
--- a/libavcodec/cljr.c
+++ b/libavcodec/cljr.c
@@ -67,7 +67,7 @@ static int decode_frame(AVCodecContext *avctx,
p->pict_type= AV_PICTURE_TYPE_I;
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] ];