Mercurial > libavcodec.hg
changeset 9352:03fd7ea4926b libavcodec
Try to honor even completely invalid motion vectors as far as is
easy.
Fixes issue961.
author | michael |
---|---|
date | Mon, 06 Apr 2009 21:45:02 +0000 |
parents | 4b801f9ae493 |
children | 70c3982d0bad |
files | mpegvideo_common.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegvideo_common.h Mon Apr 06 01:07:09 2009 +0000 +++ b/mpegvideo_common.h Mon Apr 06 21:45:02 2009 +0000 @@ -315,6 +315,7 @@ 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,