mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Try to honor even completely invalid motion vectors as far as is
easy. Fixes issue961. Originally committed as revision 18344 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
99f373f3a6
commit
38d5647a63
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user