[FFmpeg-devel] [PATCH 01/10] fftools/ffmpeg_filter: stop using avfilter_graph_alloc_filter() incorrectly

James Almer jamrial at gmail.com
Sat Sep 28 01:27:39 EEST 2024


On 9/25/2024 10:29 AM, Anton Khirnov wrote:
> This function creates AND initializes a filter, so setting any filter
> options after it is wrong. It happens to work when the filter's init
> function does not touch the options in question, but is forbidden by the
> API and is not guaranteed to remain functional.
> 
> Instead, use avfilter_graph_alloc_filter(), followed by setting the
> options, and avfilter_init_dict().

Shouldn't the subject be "stop using avfilter_graph_create_filter() 
incorrectly"?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240927/bfeab648/attachment.sig>


More information about the ffmpeg-devel mailing list