projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4e2427
)
round readed bits up to next 32bits, as orginal huffyuv cant handle less then 32bit...
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 24 Feb 2003 00:05:17 +0000
(
00:05
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 24 Feb 2003 00:05:17 +0000
(
00:05
+0000)
Originally committed as revision 1598 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/huffyuv.c
patch
|
blob
|
history
diff --git
a/libavcodec/huffyuv.c
b/libavcodec/huffyuv.c
index
7147201
..
59006b7
100644
(file)
--- a/
libavcodec/huffyuv.c
+++ b/
libavcodec/huffyuv.c
@@
-893,7
+893,7
@@
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8
*data_size = sizeof(AVFrame);
- return (get_bits_count(&s->gb)+
7)>>3
;
+ return (get_bits_count(&s->gb)+
31)/32*4
;
}
static int decode_end(AVCodecContext *avctx)