Browse Source

cljr: init_get_bits size in bits instead of bytes

tags/n0.9
Alex Converse 14 years ago
parent
commit
0c1f5b93d9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/cljr.c

+ 1
- 1
libavcodec/cljr.c View File

@@ -67,7 +67,7 @@ static int decode_frame(AVCodecContext *avctx,
p->pict_type= AV_PICTURE_TYPE_I; p->pict_type= AV_PICTURE_TYPE_I;
p->key_frame= 1; 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++){ for(y=0; y<avctx->height; y++){
uint8_t *luma= &a->picture.data[0][ y*a->picture.linesize[0] ]; uint8_t *luma= &a->picture.data[0][ y*a->picture.linesize[0] ];


Loading…
Cancel
Save