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

kostya subversion at mplayerhq.hu
Sun Jul 29 09:57:34 CEST 2007


Author: kostya
Date: Sun Jul 29 09:57:34 2007
New Revision: 542

Log:
Looks like slice type 1 is intraframe too

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Sun Jul 29 09:57:34 2007
@@ -509,6 +509,7 @@ static int rv40_parse_slice_header(RV40D
     if(get_bits1(gb))
         return -1;
     si->type = get_bits(gb, 2);
+    if(si->type == 1) si->type == 0;
     si->quant = get_bits(gb, 5);
     if(get_bits(gb, 2))
         return -1;



More information about the FFmpeg-soc mailing list