1 Sep 2005 02:15
CVS: ffmpeg/libavcodec rv10.c,1.73,1.74
Michael Niedermayer CVS <michael <at> mplayerhq.hu>
2005-09-01 00:15:15 GMT
2005-09-01 00:15:15 GMT
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv31021
Modified Files:
rv10.c
Log Message:
error concealment fix
Index: rv10.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/rv10.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- rv10.c 25 Apr 2005 18:29:05 -0000 1.73
+++ rv10.c 1 Sep 2005 00:15:12 -0000 1.74
<at> <at> -620,8 +620,14 <at> <at>
//if(s->pict_type == P_TYPE) return 0;
if ((s->mb_x == 0 && s->mb_y == 0) || s->current_picture_ptr==NULL) {
+ if(s->current_picture_ptr){ //FIXME write parser so we always have complete frames?
+ ff_er_frame_end(s);
+ MPV_frame_end(s);
+ s->mb_x= s->mb_y = s->resync_mb_x = s->resync_mb_y= 0;
+ }
if(MPV_frame_start(s, avctx) < 0)
return -1;
+ ff_er_frame_start(s);
}
(Continue reading)
RSS Feed