diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-18 16:45:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-10-21 22:19:37 +0200 |
commit | a9fcab5cdc34c86147e5d4e6eaca28a63bf6b826 (patch) | |
tree | 51d66787473fe564eeafa64559b175bd84ace257 /libavformat/matroskaenc.c | |
parent | fa4fdc7ffbc3aa2cdf3fef55e054720dc44512e4 (diff) | |
download | ffmpeg-a9fcab5cdc34c86147e5d4e6eaca28a63bf6b826.tar.gz |
avformat/xwma: Use av_rescale() for duration computation
Fixes: signed integer overflow: 34242363648 * 538976288 cannot be represented in type 'long'
Fixes: 50993/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-6577923913547776
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 2c789f753c3657be9041307f9c03749f5ba5a6bb)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/matroskaenc.c')
0 files changed, 0 insertions, 0 deletions