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 56ac57b20a0db98cb3327f7f79d4f542b9122cc1..38e471d998e12cdf1e591a6849ed9b4e48ecad34 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);