diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2022-07-06 15:05:19 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2022-07-18 11:06:17 +0800 |
commit | 811f2f91da101db02ee8b1f0e4f6276e5aecda5e (patch) | |
tree | 81fe0184b8df50ec354d059681165ecb237b0722 /libavutil/tests/softfloat.c | |
parent | f611255480b7cb61af745131251a1fd72f4dd086 (diff) | |
download | ffmpeg-811f2f91da101db02ee8b1f0e4f6276e5aecda5e.tar.gz |
avformat/mov: discard data streams with all zero sample_delta
Streams with all zero sample_delta in 'stts' have all zero dts.
They have higher chance be chose by mov_find_next_sample(), which
leads to seek again and again.
For example, GoPro created a 'GoPro SOS' stream:
Stream #0:4[0x5](eng): Data: none (fdsc / 0x63736466), 13 kb/s (default)
Metadata:
creation_time : 2022-06-21T08:49:19.000000Z
handler_name : GoPro SOS
With 'ffprobe -show_frames http://example.com/gopro.mp4', ffprobe
blocks until all samples in 'GoPro SOS' stream are consumed first.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavutil/tests/softfloat.c')
0 files changed, 0 insertions, 0 deletions