diff options
author | Charles Liu <liuchh83@gmail.com> | 2019-02-03 23:09:06 +0800 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2019-02-11 22:01:06 +0100 |
commit | aa25198f1b925a464bdfa83a98476f08d26c9209 (patch) | |
tree | 8ffbd7988eb92177d25d3abaa3086c2ac194f1d2 /libavfilter/asrc_flite.c | |
parent | 00fd38f1846a3c889b6ec645107eaea415b99840 (diff) | |
download | ffmpeg-aa25198f1b925a464bdfa83a98476f08d26c9209.tar.gz |
avformat/mov: fix hang while seek on a kind of fragmented mp4
Binary searching would hang if the fragment items do NOT have timestamp for the
specified stream.
For example, a fmp4 consists of separated 'moof' boxes for each track, and
separated 'sidx' for each segment, but no 'mfra' box. Then every fragment item
only have the timestamp for one of its tracks.
Example:
ffmpeg -f lavfi -i testsrc -f lavfi -i sine -movflags dash+frag_keyframe+skip_trailer+separate_moof -t 1 out.mp4
ffmpeg -ss 0.5 -i out.mp4 -f null none
Also fixes the hang in ticket #7572, but not the reason for having
AV_NOPTS_VALUE timestamps there.
Signed-off-by: Charles Liu <liuchh83@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavfilter/asrc_flite.c')
0 files changed, 0 insertions, 0 deletions