hdsenc: Remove dead store
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Thu, 6 Jul 2017 17:41:44 +0000 (13:41 -0400)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Fri, 14 Jul 2017 12:48:56 +0000 (13:48 +0100)
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>
libavformat/hdsenc.c

index 347df83..d01b5fa 100644 (file)
@@ -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);