Commit e10c31f3 authored by Derek Buitenhuis's avatar Derek Buitenhuis

hdsenc: Remove dead store

This is apparently not supposed to error out anyway.
Reviewed-by: 's avatarSteven Liu <lq@onvideo.cn>
Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent 91b27b83
...@@ -420,7 +420,6 @@ static int hds_write_header(AVFormatContext *s) ...@@ -420,7 +420,6 @@ static int hds_write_header(AVFormatContext *s)
if (!os->has_video && c->min_frag_duration <= 0) { if (!os->has_video && c->min_frag_duration <= 0) {
av_log(s, AV_LOG_WARNING, av_log(s, AV_LOG_WARNING,
"No video stream in output stream %d and no min frag duration set\n", i); "No video stream in output stream %d and no min frag duration set\n", i);
ret = AVERROR(EINVAL);
} }
os->fragment_index = 1; os->fragment_index = 1;
write_abst(s, os, 0); write_abst(s, os, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment