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

kostya subversion at mplayerhq.hu
Wed Jul 18 08:20:57 CEST 2007


Author: kostya
Date: Wed Jul 18 08:20:57 2007
New Revision: 476

Log:
10l: VLC set should be selected for each slice

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Wed Jul 18 08:20:57 2007
@@ -807,6 +807,7 @@ static int rv40_decode_frame(AVCodecCont
     r->bits = buf_size * 8;
     rv40_parse_slice_header(r, &r->s.gb);
     s->pict_type = r->ptype+1;
+    r->cur_vlcs = &intra_vlcs[r->vlc_set];
 
 if(s->pict_type != I_TYPE)return -1;
     if ((s->mb_x == 0 && s->mb_y == 0) || s->current_picture_ptr==NULL) {
@@ -818,7 +819,6 @@ if(s->pict_type != I_TYPE)return -1;
         if(MPV_frame_start(s, avctx) < 0)
             return -1;
         ff_er_frame_start(s);
-        r->cur_vlcs = &intra_vlcs[r->vlc_set];
     }
     rv40_decode_slice(r);
 



More information about the FFmpeg-soc mailing list