diff options
author | Nicolas Martyanoff <[email protected]> | 2014-07-29 16:24:11 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2014-07-29 16:24:11 +0200 |
commit | 0c889da8cb53a7e26d5303ad00699c92d636e831 (patch) | |
tree | b9fe5dc2a578c33a1fc161e7afd191b0eb4da124 | |
parent | 73c4f63ba5a36f3998159dcd5a4a2ec7500eb557 (diff) |
avformat/hlsenc: fix cleanup after avformat_write_header()
Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r-- | libavformat/hlsenc.c | 2 |
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: |