aboutsummaryrefslogtreecommitdiffstats
path: root/tools/target_dec_fuzzer.c
diff options
context:
space:
mode:
authorDavid McElroy <david@mcelroy.online>2025-07-21 17:01:47 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2025-07-28 17:27:51 +0200
commit4b6f6af384a76b8ca1cbb4fdde734ffaf111a934 (patch)
tree16301f9e280fbb4cf0c350116074dca08f273e97 /tools/target_dec_fuzzer.c
parentdc8e753f32a391c329adab3db323f79219042b24 (diff)
downloadffmpeg-4b6f6af384a76b8ca1cbb4fdde734ffaf111a934.tar.gz
avformat/movenc: fix HEVC fmp4 HLS init segment for Apple playback
HEVC fmp4 HLS video produced by ffmpeg is currently unplayable on Apple software (Safari, QuickTime, AVFoundation). This is caused by an empty sdtp atom being erroneously written to the fmp4 init segment. The `has_disposable` flag can be set for a track with B-frames, but the init segment contains no actual frames (track->entry == 0). Writing an sdtp atom in this case is incorrect and causes Apple's parsers to reject the file. This patch fixes the issue by ensuring the sdtp atom is only written if track->entry is non-zero. A similar patch was proposed in November 2023 by Jay Zhang, but it was never merged. Link: https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-November/317173.html Co-authored-by: Jay Zhang <wangyoucao577@gmail.com> Signed-off-by: David McElroy <david@mcelroy.online> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools/target_dec_fuzzer.c')
0 files changed, 0 insertions, 0 deletions