projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1005f54
)
dont forget table_size in the decode_frame return value
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 30 Mar 2006 14:13:03 +0000
(14:13 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 30 Mar 2006 14:13:03 +0000
(14:13 +0000)
Originally committed as revision 5246 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/huffyuv.c
patch
|
blob
|
history
diff --git
a/libavcodec/huffyuv.c
b/libavcodec/huffyuv.c
index
39b0534
..
81fa685
100644
(file)
--- a/
libavcodec/huffyuv.c
+++ b/
libavcodec/huffyuv.c
@@
-1015,7
+1015,7
@@
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8
*picture= *p;
*data_size = sizeof(AVFrame);
- return (get_bits_count(&s->gb)+31)/32*4;
+ return (get_bits_count(&s->gb)+31)/32*4
+ table_size
;
}
static int common_end(HYuvContext *s){