Mercurial > libavcodec.hg
changeset 2643:8e42a0463f68 libavcodec
fix segfault with 'ffmpeg -i 1.avi -cmp 257 -4mv 2.avi'
author | michael |
---|---|
date | Thu, 05 May 2005 13:40:28 +0000 |
parents | 240e17c3cb2d |
children | 6ff5dc0dbaf0 |
files | motion_est.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/motion_est.c Thu May 05 12:37:38 2005 +0000 +++ b/motion_est.c Thu May 05 13:40:28 2005 +0000 @@ -269,7 +269,7 @@ // 8x8 fullpel search would need a 4x4 chroma compare, which we dont have yet, and even if we had the motion estimation code doesnt expect it if(s->codec_id != CODEC_ID_SNOW){ - if((c->avctx->me_cmp&FF_CMP_CHROMA) && !s->dsp.me_cmp[2]){ + if((c->avctx->me_cmp&FF_CMP_CHROMA)/* && !s->dsp.me_cmp[2]*/){ s->dsp.me_cmp[2]= zero_cmp; } if((c->avctx->me_sub_cmp&FF_CMP_CHROMA) && !s->dsp.me_sub_cmp[2]){