mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avformat/mpegts: Increase pcr_incr width to 64bit
Fixes: division by zero
Fixes: 26459/clusterfuzz-testcase-minimized-ffmpeg_dem_MPEGTSRAW_fuzzer-5666350112178176
Fixes: 28154/clusterfuzz-testcase-minimized-ffmpeg_dem_MPEGTSRAW_fuzzer-5195728439476224
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ef7b117b7b
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
e7001f7b3c
commit
684b4a1dec
@ -135,7 +135,7 @@ struct MpegTSContext {
|
||||
int fix_teletext_pts;
|
||||
|
||||
int64_t cur_pcr; /**< used to estimate the exact PCR */
|
||||
int pcr_incr; /**< used to estimate the exact PCR */
|
||||
int64_t pcr_incr; /**< used to estimate the exact PCR */
|
||||
|
||||
/* data needed to handle file based ts */
|
||||
/** stop parsing loop */
|
||||
|
Loading…
Reference in New Issue
Block a user