diff options
author | Martin Storsjö <martin@martin.st> | 2024-06-26 13:51:05 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2024-07-04 23:33:25 +0300 |
commit | a50b8bb7cd92761043a62590958c9d570c756f30 (patch) | |
tree | 98a5e86c2ebbf5399c639dd4e62f4da279de2972 /libavformat/sctp.c | |
parent | 52f57568d5ed036aca5ee4259c69e7c1476b6d66 (diff) | |
download | ffmpeg-a50b8bb7cd92761043a62590958c9d570c756f30.tar.gz |
hlsenc: Remove bogus check for if (vs->start_pos) for appending segments
Previously, vs->start_pos was never 0 here, unless using the
-hls_segment_size option, which wasn't allowed for SEGMENT_TYPE_FMP4.
Therefore, this if statement was practically always taken anyway.
Remove this bogus if statement, to allow changing vs->start_pos
to reflect the right value when not using the -hls_segment_size
option.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/sctp.c')
0 files changed, 0 insertions, 0 deletions