avformat/mov: fix crash when stsz_sample_size is zero and sample_sizes is null
authorZhao Zhili <zhilizhao@tencent.com>
Tue, 25 Nov 2025 05:00:34 +0000 (13:00 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 18 Jun 2026 03:09:43 +0000 (05:09 +0200)
commit55da57f72377d4d6de5b80655614fc0161c0a0b0
tree0085ed188548ebab298adb08583756c64c2bc344
parent9fc5ed2c676a2dd2e7ddc4c78378ed5a32cdac09
avformat/mov: fix crash when stsz_sample_size is zero and sample_sizes is null

Co-Authored-by: James Almer <jamrial@gmail.com>
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
(cherry picked from commit cac5018eb9278263e76ccc2891509ed662474853)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c