diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-03-10 23:24:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-04-13 23:39:50 +0200 |
commit | 4e305299d993868490fb25ebffcc34ea6549a3ef (patch) | |
tree | f33cfed38dfb2bf12edbcc88a8e9fa9857f4728c /libavformat/rtpdec_mpeg12.c | |
parent | b545c250783bcc82f07372a6808d9745615d9b1a (diff) | |
download | ffmpeg-4e305299d993868490fb25ebffcc34ea6549a3ef.tar.gz |
avformat/matroskadec: Use rounded down duration in get_cue_desc() check
Floating point is evil, it would be better if duration was not a double
Fixes: Infinite loop
Fixes: 45123/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-6725052291219456
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 bd3a03db9aef72ee36a7cc964171e9f52967f4bc)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/rtpdec_mpeg12.c')
0 files changed, 0 insertions, 0 deletions