Mercurial > libavcodec.hg
diff mpegvideo_common.h @ 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 | e9d9d946f213 |
| children | 1ff6eb1d7d14 |
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,
