diff --git a/libavcodec/cljr.c b/libavcodec/cljr.c index 3050fe204ea53edb5faed599f6f67bfc73eab61f..b1cb6f07e3e0ebf8c2483bc92bd4d48d03caec06 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] ];