From: James S. <jst...@us...> - 2003-02-19 21:37:19
|
Update of /cvsroot/xine/xine-lib/src/libffmpeg/libavcodec In directory sc8-pr-cvs1:/tmp/cvs-serv6592/src/libffmpeg/libavcodec Modified Files: huffyuv.c Log Message: Support for YUY2 HuffYUV video Index: huffyuv.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/libffmpeg/libavcodec/huffyuv.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- huffyuv.c 31 Jan 2003 18:29:45 -0000 1.2 +++ huffyuv.c 19 Feb 2003 21:37:16 -0000 1.3 @@ -893,7 +893,7 @@ *data_size = sizeof(AVFrame); - return (get_bits_count(&s->gb)+7)>>3; + return (((get_bits_count(&s->gb)+7)>>3) + 3) & ~3; } static int decode_end(AVCodecContext *avctx) |