Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2017-07-06 20:41:44 +0300
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2017-07-14 15:48:56 +0300
commite10c31f3316ab08c0720a1e24506f7ba6a444d36 (patch)
treef68e8161e0ac252e131ee428bee447ed3fbb06cc /libavformat/hdsenc.c
parent91b27b83939a73b7313440f79512549b5b8ff7c1 (diff)
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/hdsenc.c')
-rw-r--r--libavformat/hdsenc.c1
1 files changed, 0 insertions, 1 deletions
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);