[FFmpeg-trac] #11194(avformat:new): image2 frame_pts integer overflow
FFmpeg
trac at avcodec.org
Mon Sep 16 21:52:15 EEST 2024
#11194: image2 frame_pts integer overflow
-------------------------------------+-------------------------------------
Reporter: Filip | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: image2 | Blocked By:
frame_pts |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Filip):
[https://patchwork.ffmpeg.org/project/ffmpeg/patch/20240916182420.188-3-shoutplenty@gmail.com/]
Patch is here. One other change that needs to be made is the snprintf
format string needs to handle int64_t properly, which I don't know how to
do correctly across platforms (the compiler on patchwork is suggesting
"%0*ld"). I would also check that the variable length is being passed
correctly since I have a vague memory that only single-digit lengths work
correctly. Will update if I have any other ideas.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11194#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list