aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Martyanoff <khaelin@gmail.com>2014-07-29 16:24:11 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-29 16:24:11 +0200
commit0c889da8cb53a7e26d5303ad00699c92d636e831 (patch)
treeb9fe5dc2a578c33a1fc161e7afd191b0eb4da124
parent73c4f63ba5a36f3998159dcd5a4a2ec7500eb557 (diff)
downloadffmpeg-0c889da8cb53a7e26d5303ad00699c92d636e831.tar.gz
avformat/hlsenc: fix cleanup after avformat_write_header()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/hlsenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index ca42b444b1..76a7eef012 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -241,7 +241,7 @@ static int hls_write_header(AVFormatContext *s)
goto fail;
if ((ret = avformat_write_header(hls->avf, NULL)) < 0)
- return ret;
+ goto fail;
fail: