changeset 1367:b33c63b53cef libavcodec

edge fix
author michaelni
date Wed, 16 Jul 2003 18:20:46 +0000
parents 80067f8d6770
children 0fd38b711f06
files motion_est.c
diffstat 1 files changed, 2 insertions(+), 7 deletions(-) [+]
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;