mjpegbdec: remove dead store
authorPaul B Mahol <onemda@gmail.com>
Thu, 22 Mar 2012 03:36:30 +0000 (03:36 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 22 Mar 2012 12:19:42 +0000 (13:19 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mjpegbdec.c

index b70311b..3e4946b 100644 (file)
@@ -129,7 +129,6 @@ read_header:
         if (s->bottom_field != s->interlace_polarity && second_field_offs)
         {
             buf_ptr = buf + second_field_offs;
-            second_field_offs = 0;
             goto read_header;
             }
     }