Mercurial > libavcodec.hg
diff motion_est.c @ 1367:b33c63b53cef libavcodec
edge fix
author | michaelni |
---|---|
date | Wed, 16 Jul 2003 18:20:46 +0000 |
parents | fea03d2c4946 |
children | da0b3a50d209 |
line wrap: on
line diff
--- a/motion_est.c Wed Jul 16 18:12:14 2003 +0000 +++ b/motion_est.c Wed Jul 16 18:20:46 2003 +0000 @@ -809,13 +809,8 @@ if (s->unrestricted_mv) { *xmin = -16; *ymin = -16; - if(s->avctx->codec->id!=CODEC_ID_MPEG4){ - *xmax = s->mb_width*16; - *ymax = s->mb_height*16; - }else { - *xmax = s->width; - *ymax = s->height; - } + *xmax = s->mb_width*16; + *ymax = s->mb_height*16; } else { *xmin = 0; *ymin = 0;