avformat/hlsenc: remove unused variable to fix compiler warning
authorSteven Liu <lq@chinaffmpeg.org>
Wed, 26 Dec 2018 11:29:18 +0000 (19:29 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Wed, 26 Dec 2018 11:29:18 +0000 (19:29 +0800)
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/hlsenc.c

index 61236d4..d202261 100644 (file)
@@ -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;
 }