[FFmpeg-devel] (no subject)

Anton Khirnov anton at khirnov.net
Mon Sep 23 07:44:22 EEST 2024


Quoting Filip Mašić (2024-09-19 18:23:27)
> diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> index 56c1c80289..a2ef209e35 100644
> --- a/libavformat/avformat.h
> +++ b/libavformat/avformat.h
> @@ -2933,10 +2933,13 @@ void av_dump_format(AVFormatContext *ic,
>   * @param buf destination buffer
>   * @param buf_size destination buffer size
>   * @param path numbered sequence string
> - * @param number frame number
> + * @param number frame number (or pts if frame_pts option passed)

The frame_pts option is specific to img2enc, which is not the only
caller of this function.

>   * @param flags AV_FRAME_FILENAME_FLAGS_*
>   * @return 0 if OK, -1 on format error
>   */
> +int av_get_frame_filename3(char *buf, int buf_size,
> +                          const char *path, int64_t number, int flags);
> +
>  int av_get_frame_filename2(char *buf, int buf_size,
>                            const char *path, int number, int flags);

av_get_frame_filename2() is now undocumented. It should probably be
deprecated.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list