# HG changeset patch # User michaelni # Date 1058379646 0 # Node ID b33c63b53cef0b7d04e271f6d207a7500b11a54a # Parent 80067f8d6770824d4f7a299b3558292f31af25ef edge fix diff -r 80067f8d6770 -r b33c63b53cef motion_est.c --- 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;