diff options
author | Matt Robinson <git@nerdoftheherd.com> | 2021-04-05 18:45:04 +0100 |
---|---|---|
committer | Steven Liu <liuqi05@kuaishou.com> | 2021-04-14 15:28:04 +0800 |
commit | c5ca18fd1b1f8437e52305a5c15226b6f67a2e10 (patch) | |
tree | be9b1b344112fa07df82089ae5988bebac84fd97 /libavcodec/h264dec.c | |
parent | 4e39cd67b7275dc525684e54d0bd651ef4ee149b (diff) | |
download | ffmpeg-c5ca18fd1b1f8437e52305a5c15226b6f67a2e10.tar.gz |
avformat/dashdec: Also fetch final partial segment
Currently, the DASH demuxer omits the final segment for a non-live
stream (using SegmentTemplate) if it is shorter than the other segments.
Correct calc_max_seg_no to round up when calulating the number of
segments instead of rounding down to resolve this issue.
Signed-off-by: Matt Robinson <git@nerdoftheherd.com>
Diffstat (limited to 'libavcodec/h264dec.c')
0 files changed, 0 insertions, 0 deletions