[FFmpeg-devel] [PATCH 3/17] avformat/avformat: Allow const AVOutputFormat where possible

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Mar 2 11:01:56 EET 2020


Am Mo., 2. März 2020 um 05:36 Uhr schrieb Andreas Rheinhardt
<andreas.rheinhardt at gmail.com>:

> -int avformat_alloc_output_context2(AVFormatContext **ctx, ff_const59 AVOutputFormat *oformat,
> +int avformat_alloc_output_context2(AVFormatContext **ctx, const AVOutputFormat *oformat,
>                                     const char *format_name, const char *filename);

I believe this breaks C++ code using libavformat.

Carl Eugen


More information about the ffmpeg-devel mailing list