diff motion_est.c @ 2834:fd5d7c732c6b libavcodec

kill a bunch of compiler warnings
author mru
date Sun, 14 Aug 2005 15:42:40 +0000
parents c6ab4b91a5c5
children 40765c51a7a9
line wrap: on
line diff
--- a/motion_est.c	Sun Aug 14 01:15:27 2005 +0000
+++ b/motion_est.c	Sun Aug 14 15:42:40 2005 +0000
@@ -175,7 +175,7 @@
         }else
             d= 256*256*256*32;
     }else{
-        int uvdxy;
+        int uvdxy;              /* no, it might not be used uninitialized */
         if(dxy){
             if(qpel){
                 c->qpel_put[size][dxy](c->temp, ref[0] + x + y*stride, stride); //FIXME prototype (add h)
@@ -1563,7 +1563,6 @@
     MotionEstContext * const c= &s->me;
     uint8_t * const mv_penalty= c->mv_penalty[s->f_code] + MAX_MV; // f_code of the prev frame
     int stride= c->stride;
-    int uvstride= c->uvstride;
     uint8_t *dest_y = c->scratchpad;
     uint8_t *ptr;
     int dxy;