[FFmpeg-cvslog] hdsenc: Remove dead store
Derek Buitenhuis
git at videolan.org
Fri Jul 14 15:49:11 EEST 2017
ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Thu Jul 6 13:41:44 2017 -0400| [e10c31f3316ab08c0720a1e24506f7ba6a444d36] | committer: Derek Buitenhuis
hdsenc: Remove dead store
This is apparently not supposed to error out anyway.
Reviewed-by: Steven Liu <lq at onvideo.cn>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e10c31f3316ab08c0720a1e24506f7ba6a444d36
---
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);
More information about the ffmpeg-cvslog
mailing list