Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests/ref
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-08-16 02:14:42 +0300
committerJames Almer <jamrial@gmail.com>2022-09-09 02:06:06 +0300
commit836b8001c924deb9263b0f5b7c74ccfaab1f4fdc (patch)
treebccd4b1eca0e54cb33d0bfc9aa64f20b7b5507ee /tests/ref
parent31581ae7ee6d007f2f2dcd16de5df991ba7aa1b6 (diff)
avformat/mov: don't read duration from mvhd atom
This duration is equal to the longest duration in all track's tkhd atoms, which may be comprised of the sum of all edit lists in each track. Empty edit lists in tracks represent start_time, and the actual media duration is stored in the mdhd atom. This change lets the generic demux code derive the longest track duration taken from mdhd atoms, so the correct duration and start_time combination will be reported. Should fix ticket #9775. Reviewed-by: zhilizhao(赵志立) <quinkblack@foxmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/ref')
-rw-r--r--tests/ref/fate/gaplessenc-itunes-to-ipod-aac2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/fate/gaplessenc-itunes-to-ipod-aac b/tests/ref/fate/gaplessenc-itunes-to-ipod-aac
index f967ac05bc..1f89e9af85 100644
--- a/tests/ref/fate/gaplessenc-itunes-to-ipod-aac
+++ b/tests/ref/fate/gaplessenc-itunes-to-ipod-aac
@@ -5,7 +5,7 @@ duration_ts=103326
[/STREAM]
[FORMAT]
start_time=0.000000
-duration=2.344000
+duration=2.342993
[/FORMAT]
packet|pts=-1024|dts=-1024|duration=1024|flags=KD|side_data|