diff options
author | jiangjie <jiangjie618@gmail.com> | 2024-09-02 16:16:05 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2024-09-14 11:42:09 +0800 |
commit | f606872ed0e2224c6809870c2116273f768a80b0 (patch) | |
tree | 1f0d5ad67b2aa20c142c12a8b181dd237177214d /libavcodec/cook_parser.c | |
parent | 6229e4ac425b4566446edefb67d5c225eb397b58 (diff) | |
download | ffmpeg-f606872ed0e2224c6809870c2116273f768a80b0.tar.gz |
avformat/dashdec: The segments in dash file doesn't read completely when segment's size and duration is very small.
If the segment is very small, avformat_find_stream_info
will read all audio/video data in this segment.
cur->is_restart_needed is set to 0 later in dash_read_packet,
and no chance to be set to 1 again in the read_data function.
Reproduction:
ffmpeg -f lavfi -i mandelbrot -f lavfi -i anullsrc -c:v vp8 \
-g 5 -r 5 -c:a libopus -use_template 0 -seg_duration 1 \
-t 15 -y test_720.mpd
ffprobe -show_packets test_720.mpd
Diffstat (limited to 'libavcodec/cook_parser.c')
0 files changed, 0 insertions, 0 deletions