avformat/hlsenc: fix cleanup after avformat_write_header()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Nicolas Martyanoff 2014-07-29 16:24:11 +02:00 committed by Michael Niedermayer
parent 73c4f63ba5
commit 0c889da8cb
1 changed files with 1 additions and 1 deletions

View File

@ -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: