Changes between Initial Version and Version 1 of Ticket #11194, comment 1
- Timestamp:
- Sep 16, 2024, 4:59:23 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11194, comment 1
initial v1 1 1 [https://github.com/FFmpeg/FFmpeg/blob/ceb471cfde901d47e705dd32abba1ea8eab269fa/libavformat/utils.c#L283] 2 2 I think the best solution is to just change the parameter type of "number", currently int, to uint64_t. The function av_get_frame_filename2 is called in many places with an int "number" argument, except for via the frame_pts codepath, where it's a uint64_t "number" argument. It seems safer to me to cast int into uint64_t rather than the other way round, and I don't foresee any side-effects, though I'm inexperienced with C. Shall I try to submit that as a patch? 3 4 This "number" variable just gets passed through into snprintf, with a negative sign if it's <0.


