summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2018-12-26 19:29:18 +0800
committerSteven Liu <lq@chinaffmpeg.org>2018-12-26 19:29:18 +0800
commitcef857da481e14393a3ed4ab5663fe0d48d7fe24 (patch)
treecbfb305fd3f37f18887d3c38043cff96a4e60959 /libavformat
parentc822d70c3d2d59da986daa1dcbc9f9d1e3566ece (diff)
downloadffmpeg-streaming-cef857da481e14393a3ed4ab5663fe0d48d7fe24.zip
ffmpeg-streaming-cef857da481e14393a3ed4ab5663fe0d48d7fe24.tar.gz
avformat/hlsenc: remove unused variable to fix compiler warning
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/hlsenc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 61236d4..d202261 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;
}
OpenPOWER on IntegriCloud