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>
pull/265/head
Derek Buitenhuis 7 years ago
parent 91b27b8393
commit e10c31f331
  1. 1
      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);

Loading…
Cancel
Save