aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_parse.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-08-15 20:14:42 -0300
committerJames Almer <jamrial@gmail.com>2022-09-08 20:06:06 -0300
commit836b8001c924deb9263b0f5b7c74ccfaab1f4fdc (patch)
treebccd4b1eca0e54cb33d0bfc9aa64f20b7b5507ee /libavcodec/h264_parse.h
parent31581ae7ee6d007f2f2dcd16de5df991ba7aa1b6 (diff)
downloadffmpeg-836b8001c924deb9263b0f5b7c74ccfaab1f4fdc.tar.gz
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 'libavcodec/h264_parse.h')
0 files changed, 0 insertions, 0 deletions