h264: remove unused variable
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 19 Apr 2013 21:43:40 +0000 (23:43 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 20 Apr 2013 00:22:32 +0000 (02:22 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c

index 1106704..502ee92 100644 (file)
@@ -3091,7 +3091,7 @@ static int h264_slice_header_init(H264Context *h, int reinit)
     int nb_slices = (HAVE_THREADS &&
                      h->avctx->active_thread_type & FF_THREAD_SLICE) ?
                     h->avctx->thread_count : 1;
-    int i, ret;
+    int i;
 
     h->avctx->sample_aspect_ratio = h->sps.sar;
     av_assert0(h->avctx->sample_aspect_ratio.den);