summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-22 02:53:58 +0200
committerDiego Biurrun <diego@biurrun.de>2013-04-22 12:05:09 +0200
commitfce99322b0cc0b9e3ce71be0870368e618e54ffa (patch)
treed28057c67ee55747a2a87eeca2ac2d957cf7c201 /libavcodec
parent78fa0bd0f7067868943c0899907e313414492426 (diff)
h264: Drop unused variable
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 56ac57b20a..38e471d998 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -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 i, ret;
+ int i;
h->avctx->sample_aspect_ratio = h->sps.sar;
av_assert0(h->avctx->sample_aspect_ratio.den);