[FFmpeg-cvslog] r15465 - trunk/libavcodec/error_resilience.c

michael subversion
Tue Sep 30 02:28:14 CEST 2008


Author: michael
Date: Tue Sep 30 02:28:13 2008
New Revision: 15465

Log:
Do not attempt to perform error concealment in lowres mode as this is
not supported currently.


Modified:
   trunk/libavcodec/error_resilience.c

Modified: trunk/libavcodec/error_resilience.c
==============================================================================
--- trunk/libavcodec/error_resilience.c	(original)
+++ trunk/libavcodec/error_resilience.c	Tue Sep 30 02:28:13 2008
@@ -680,7 +680,7 @@ void ff_er_frame_end(MpegEncContext *s){
     int size = s->b8_stride * 2 * s->mb_height;
     Picture *pic= s->current_picture_ptr;
 
-    if(!s->error_recognition || s->error_count==0 ||
+    if(!s->error_recognition || s->error_count==0 || s->avctx->lowres ||
        s->error_count==3*s->mb_width*(s->avctx->skip_top + s->avctx->skip_bottom)) return;
 
     if(s->current_picture.motion_val[0] == NULL){




More information about the ffmpeg-cvslog mailing list