Mercurial > libavcodec.hg
comparison mpegvideo_common.h @ 10603:874e26fe2284 libavcodec
Make ""MPEG motion vector out of boundary" message more verbose.
author | michael |
---|---|
date | Mon, 30 Nov 2009 17:29:21 +0000 |
parents | 71ff4286b0d0 |
children | ce2cf9e32b09 |
comparison
equal
deleted
inserted
replaced
10602:987373501407 | 10603:874e26fe2284 |
---|---|
312 if( (unsigned)src_x > s->h_edge_pos - (motion_x&1) - 16 | 312 if( (unsigned)src_x > s->h_edge_pos - (motion_x&1) - 16 |
313 || (unsigned)src_y > v_edge_pos - (motion_y&1) - h){ | 313 || (unsigned)src_y > v_edge_pos - (motion_y&1) - h){ |
314 if(is_mpeg12 || s->codec_id == CODEC_ID_MPEG2VIDEO || | 314 if(is_mpeg12 || s->codec_id == CODEC_ID_MPEG2VIDEO || |
315 s->codec_id == CODEC_ID_MPEG1VIDEO){ | 315 s->codec_id == CODEC_ID_MPEG1VIDEO){ |
316 av_log(s->avctx,AV_LOG_DEBUG, | 316 av_log(s->avctx,AV_LOG_DEBUG, |
317 "MPEG motion vector out of boundary\n"); | 317 "MPEG motion vector out of boundary (%d %d)\n", src_x, src_y); |
318 return; | 318 return; |
319 } | 319 } |
320 ff_emulated_edge_mc(s->edge_emu_buffer, ptr_y, s->linesize, | 320 ff_emulated_edge_mc(s->edge_emu_buffer, ptr_y, s->linesize, |
321 17, 17+field_based, | 321 17, 17+field_based, |
322 src_x, src_y<<field_based, | 322 src_x, src_y<<field_based, |