From: Jeff Downs Date: Mon, 3 Aug 2009 17:54:11 +0000 (+0000) Subject: Revert r18344. Fixes at least issue 1218, 1221, and 1187), see master X-Git-Tag: v0.6~3656 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca6493ab40d307a9e3d970df04adcf424f43be65;p=platform%2Fupstream%2Flibav.git 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. Originally committed as revision 19575 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/mpegvideo_common.h b/libavcodec/mpegvideo_common.h index 45b84e0..7c8ba13 100644 --- a/libavcodec/mpegvideo_common.h +++ b/libavcodec/mpegvideo_common.h @@ -315,7 +315,6 @@ 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,