Change #248044
| Category | ffmpeg |
| Changed by | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> |
| Changed at | Sat 08 Nov 2025 19:33:11 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | cb7b962a4addabc441189b35703a3ef62d687212 |
Comments
avutil/timecode: Fix -Wformat-truncation warning Using unsigned for fps is more natural since the corresponding AVTimecode field is unsigned. It also fixes a -Wformat-truncation warning from GCC 16: in case fps were negative, hours, minutes and seconds would be negative, leading to additional '-' characters which are not accounted for in AV_TIMECODE_STR_SIZE. Reviewed-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Changed files
- libavutil/timecode.c