OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7ce4f1
)
cljr: init_get_bits size in bits instead of bytes
author
Alex Converse
<alex.converse@gmail.com>
Fri, 9 Sep 2011 21:50:33 +0000
(14:50 -0700)
committer
Alex Converse
<alex.converse@gmail.com>
Fri, 9 Sep 2011 22:01:00 +0000
(15:01 -0700)
libavcodec/cljr.c
patch
|
blob
|
history
diff --git
a/libavcodec/cljr.c
b/libavcodec/cljr.c
index
3050fe2
..
b1cb6f0
100644
(file)
--- 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] ];