lavc/motion_est: remove unused variable
authorLukasz Marek <lukasz.m.luki@gmail.com>
Fri, 14 Feb 2014 22:20:46 +0000 (23:20 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 15 Feb 2014 12:07:54 +0000 (13:07 +0100)
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/motion_est.c

index f4d217b..5ca59aa 100644 (file)
@@ -390,10 +390,9 @@ static int sad_hpel_motion_search(MpegEncContext * s,
     int mx, my, dminh;
     uint8_t *pix, *ptr;
     int stride= c->stride;
-    const int flags= c->sub_flags;
     LOAD_COMMON
 
-    av_assert2(flags == 0);
+    av_assert2(c->sub_flags == 0);
 
     if(c->skip){
         *mx_ptr = 0;