From e10c31f3316ab08c0720a1e24506f7ba6a444d36 Mon Sep 17 00:00:00 2001 From: Derek Buitenhuis Date: Thu, 6 Jul 2017 13:41:44 -0400 Subject: [PATCH] hdsenc: Remove dead store This is apparently not supposed to error out anyway. Reviewed-by: Steven Liu Signed-off-by: Derek Buitenhuis --- libavformat/hdsenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c index 347df83a51..d01b5fa84e 100644 --- a/libavformat/hdsenc.c +++ b/libavformat/hdsenc.c @@ -420,7 +420,6 @@ static int hds_write_header(AVFormatContext *s) if (!os->has_video && c->min_frag_duration <= 0) { av_log(s, AV_LOG_WARNING, "No video stream in output stream %d and no min frag duration set\n", i); - ret = AVERROR(EINVAL); } os->fragment_index = 1; write_abst(s, os, 0);