Commit 76a49fe8 authored by michael's avatar michael

Try to honor even completely invalid motion vectors as far as is

easy.
Fixes issue961.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18344 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d92f3ca2
...@@ -315,6 +315,7 @@ if(s->quarter_sample) ...@@ -315,6 +315,7 @@ if(s->quarter_sample)
s->codec_id == CODEC_ID_MPEG1VIDEO){ s->codec_id == CODEC_ID_MPEG1VIDEO){
av_log(s->avctx,AV_LOG_DEBUG, av_log(s->avctx,AV_LOG_DEBUG,
"MPEG motion vector out of boundary\n"); "MPEG motion vector out of boundary\n");
if(!s->chroma_y_shift)
return ; return ;
} }
ff_emulated_edge_mc(s->edge_emu_buffer, ptr_y, s->linesize, ff_emulated_edge_mc(s->edge_emu_buffer, ptr_y, s->linesize,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment