[FFmpeg-cvslog] r18344 - trunk/libavcodec/mpegvideo_common.h

michael subversion
Mon Apr 6 23:45:03 CEST 2009


Author: michael
Date: Mon Apr  6 23:45:02 2009
New Revision: 18344

Log:
Try to honor even completely invalid motion vectors as far as is
easy.
Fixes issue961.

Modified:
   trunk/libavcodec/mpegvideo_common.h

Modified: trunk/libavcodec/mpegvideo_common.h
==============================================================================
--- trunk/libavcodec/mpegvideo_common.h	Mon Apr  6 23:04:26 2009	(r18343)
+++ trunk/libavcodec/mpegvideo_common.h	Mon Apr  6 23:45:02 2009	(r18344)
@@ -315,6 +315,7 @@ if(s->quarter_sample)
                s->codec_id == CODEC_ID_MPEG1VIDEO){
                 av_log(s->avctx,AV_LOG_DEBUG,
                         "MPEG motion vector out of boundary\n");
+                if(!s->chroma_y_shift)
                 return ;
             }
             ff_emulated_edge_mc(s->edge_emu_buffer, ptr_y, s->linesize,



More information about the ffmpeg-cvslog mailing list