Author: kostya
Date: Wed Aug 22 19:47:47 2007
New Revision: 1155
Log:
Interframes with this bit set to zero store width and height too
Modified:
rv40/rv40.c
Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c (original)
+++ rv40/rv40.c Wed Aug 22 19:47:47 2007
@@ -557,10 +557,8 @@ static int rv40_parse_slice_header(RV40D
if(get_bits1(gb))
return -1;
t = get_bits(gb, 13); /// ???
- if(!si->type)
+ if(!si->type || !get_bits1(gb))
rv40_parse_picture_size(gb, &w, &h);
- else
- get_bits1(gb);
si->width = w;
si->height = h;
mb_size = ((w + 15) >> 4) * ((h + 15) >> 4);
_______________________________________________
FFmpeg-soc mailing list
[email protected]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc