Commit 0c889da8 authored by Nicolas Martyanoff's avatar Nicolas Martyanoff Committed by Michael Niedermayer

avformat/hlsenc: fix cleanup after avformat_write_header()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 73c4f63b
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment