diff huffyuv.c @ 3234:823272bdb4f7
libavcodec
dont forget table_size in the decode_frame return value
| author |
michael |
| date |
Thu, 30 Mar 2006 14:13:03 +0000 |
| parents |
35f5c9a8bc83 |
| children |
6baa0bfee0b8 |
line diff
--- a/huffyuv.c Thu Mar 30 04:33:05 2006 +0000
+++ b/huffyuv.c Thu Mar 30 14:13:03 2006 +0000
@@ -1015,7 +1015,7 @@
*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){