my apologies for re-sending; i didn't spot that there was a header file. my previous email may be disregarded.
suggested fix for ticket 11194; see ticket for more info. i haven't been able to test this since i don't have any build tools installed, but decided to submit it since it seems to be a trivial change and easy to test Signed-off-by: Filip Mašić <shoutple...@gmail.com> --- libavformat/avformat.h | 4 ++-- libavformat/utils.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 4a3fb00529..76ffb008b4 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2911,10 +2911,10 @@ void av_dump_format(AVFormatContext *ic, * @return 0 if OK, -1 on format error */ int av_get_frame_filename2(char *buf, int buf_size, - const char *path, int number, int flags); + const char *path, int64_t number, int flags); int av_get_frame_filename(char *buf, int buf_size, - const char *path, int number); + const char *path, int64_t number); /** * Check whether filename actually is a numbered sequence generator. diff --git a/libavformat/utils.c b/libavformat/utils.c index e9ded627ad..41acc71949 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -280,7 +280,7 @@ uint64_t ff_parse_ntp_time(uint64_t ntp_ts) return (sec * 1000000) + usec; } -int av_get_frame_filename2(char *buf, int buf_size, const char *path, int number, int flags) +int av_get_frame_filename2(char *buf, int buf_size, const char *path, int64_t number, int flags) { const char *p; char *q, buf1[20], c; @@ -338,7 +338,7 @@ fail: return -1; } -int av_get_frame_filename(char *buf, int buf_size, const char *path, int number) +int av_get_frame_filename(char *buf, int buf_size, const char *path, int64_t number) { return av_get_frame_filename2(buf, buf_size, path, number, 0); } -- 2.46.0.windows.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".