Signed-off-by: Derek Buitenhuis <derek.buitenh...@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel