changeset 10014:f2fa6cbb01ce libavcodec

Revert r18344. Fixes at least issue 1218, 1221, and 1187), see master issue 1221 for details. Briefly, out of bounds field mvs in field pictures would cause a crash.
author heydowns
date Mon, 03 Aug 2009 17:54:11 +0000
parents 454cb6aa43a3
children 71ff4286b0d0
files mpegvideo_common.h
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo_common.h	Mon Aug 03 17:15:01 2009 +0000
+++ b/mpegvideo_common.h	Mon Aug 03 17:54:11 2009 +0000
@@ -315,7 +315,6 @@
                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,