[FFmpeg-soc] [soc]: r1349 - rv40/rv40.c

kostya subversion at mplayerhq.hu
Sun Sep 16 17:10:07 CEST 2007


Author: kostya
Date: Sun Sep 16 17:10:07 2007
New Revision: 1349

Log:
Set width and heigh in RV30 slice header

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Sun Sep 16 17:10:07 2007
@@ -573,6 +573,8 @@ static int rv30_parse_slice_header(RV40D
     t = get_bits(gb, 13);
     skip_bits(gb, r->rpr);
     si->vlc_set = 0;
+    si->width  = w;
+    si->height = h;
     mb_size = ((w + 15) >> 4) * ((h + 15) >> 4);
     for(i = 0; i < 5; i++)
         if(rv40_mb_max_sizes[i] > mb_size)



More information about the FFmpeg-soc mailing list