diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-07-06 13:41:44 -0400 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-07-14 13:48:56 +0100 |
commit | e10c31f3316ab08c0720a1e24506f7ba6a444d36 (patch) | |
tree | f68e8161e0ac252e131ee428bee447ed3fbb06cc /libavformat | |
parent | 91b27b83939a73b7313440f79512549b5b8ff7c1 (diff) | |
download | ffmpeg-streaming-e10c31f3316ab08c0720a1e24506f7ba6a444d36.zip ffmpeg-streaming-e10c31f3316ab08c0720a1e24506f7ba6a444d36.tar.gz |
hdsenc: Remove dead store
This is apparently not supposed to error out anyway.
Reviewed-by: Steven Liu <lq@onvideo.cn>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/hdsenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c index 347df83..d01b5fa 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); |