h264: Drop unused variable
authorDiego Biurrun <diego@biurrun.de>
Mon, 22 Apr 2013 00:53:58 +0000 (02:53 +0200)
committerDiego Biurrun <diego@biurrun.de>
Mon, 22 Apr 2013 10:05:09 +0000 (12:05 +0200)
libavcodec/h264.c

index 56ac57b..38e471d 100644 (file)
@@ -3015,7 +3015,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 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);
 
     h->avctx->sample_aspect_ratio = h->sps.sar;
     av_assert0(h->avctx->sample_aspect_ratio.den);