From cef857da481e14393a3ed4ab5663fe0d48d7fe24 Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Wed, 26 Dec 2018 19:29:18 +0800 Subject: [PATCH] avformat/hlsenc: remove unused variable to fix compiler warning Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 61236d495f..d202261771 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2077,7 +2077,6 @@ static int hls_write_header(AVFormatContext *s) { HLSContext *hls = s->priv_data; int ret, i, j; - AVDictionary *options = NULL; VariantStream *vs = NULL; for (i = 0; i < hls->nb_varstreams; i++) { @@ -2125,7 +2124,6 @@ static int hls_write_header(AVFormatContext *s) } } } -fail: return ret; }