[FFmpeg-cvslog] avformat/hlsenc: remove unused variable to fix compiler warning

Steven Liu git at videolan.org
Wed Dec 26 13:32:27 EET 2018


ffmpeg | branch: master | Steven Liu <lq at chinaffmpeg.org> | Wed Dec 26 19:29:18 2018 +0800| [cef857da481e14393a3ed4ab5663fe0d48d7fe24] | committer: Steven Liu

avformat/hlsenc: remove unused variable to fix compiler warning

Signed-off-by: Steven Liu <lq at chinaffmpeg.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cef857da481e14393a3ed4ab5663fe0d48d7fe24
---

 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;
 }



More information about the ffmpeg-cvslog mailing list