avformat/hlsenc: fix cleanup after avformat_write_header()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
73c4f63ba5
commit
0c889da8cb
@ -241,7 +241,7 @@ static int hls_write_header(AVFormatContext *s)
|
|||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
if ((ret = avformat_write_header(hls->avf, NULL)) < 0)
|
if ((ret = avformat_write_header(hls->avf, NULL)) < 0)
|
||||||
return ret;
|
goto fail;
|
||||||
|
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user