[FFmpeg-devel] [PATCH 02/12] hdsenc: Add missing goto statement
Derek Buitenhuis
derek.buitenhuis at gmail.com
Thu Jul 6 21:28:32 EEST 2017
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
---
libavformat/hdsenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c
index 347df83a51..c362a75d8b 100644
--- a/libavformat/hdsenc.c
+++ b/libavformat/hdsenc.c
@@ -421,6 +421,7 @@ static int hds_write_header(AVFormatContext *s)
av_log(s, AV_LOG_WARNING,
"No video stream in output stream %d and no min frag duration set\n", i);
ret = AVERROR(EINVAL);
+ goto fail;
}
os->fragment_index = 1;
write_abst(s, os, 0);
--
2.11.0
More information about the ffmpeg-devel
mailing list