summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-19 23:43:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-20 02:22:32 +0200
commit8ebfd7c49e449671331f4d69989dfc0a66bcebaa (patch)
tree3545b115c7c3e8304f766c42e2fd8b0b840d5d55 /libavcodec/h264.c
parent67cc31d6c74be37ba17262d29afb7a92ee4f3642 (diff)
h264: remove unused variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 110670400d..502ee9251d 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -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);