diff options
author | Måns Rullgård <mans@mansr.com> | 2005-08-14 15:42:40 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2005-08-14 15:42:40 +0000 |
commit | bf4e3bd2d0263169ebf5d88972ae319ecb0d7a1e (patch) | |
tree | 21994d3ba7eb77248e57a7291217c45816ce7648 /libavcodec/motion_est.c | |
parent | 72ce053b9cc9fc7fddce15ea8833a3783fef3540 (diff) | |
download | ffmpeg-streaming-bf4e3bd2d0263169ebf5d88972ae319ecb0d7a1e.zip ffmpeg-streaming-bf4e3bd2d0263169ebf5d88972ae319ecb0d7a1e.tar.gz |
kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r-- | libavcodec/motion_est.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index d860274..6811dca 100644 --- a/libavcodec/motion_est.c +++ b/libavcodec/motion_est.c @@ -175,7 +175,7 @@ static always_inline int cmp(MpegEncContext *s, const int x, const int y, const }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 @@ static inline int check_bidir_mv(MpegEncContext * s, 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; |