History

lavfi: deprecate avfilter_link_free()

It never makes sense for this function to be called by users.

Anton Khirnov committed 2 years ago

Commit 6b1f41e1 parent c0aee393 files · +15 −3Browse files

Showing the changes to libavfilter/avfilter.h (1 of 3 files). Show all

Unified · Split

libavfilter/avfilter.h+4−1
@@ -676,10 +676,13 @@ struct AVFilterLink { · 675 unmodified lines
676676 int avfilter_link(AVFilterContext *src, unsigned srcpad,
677677 AVFilterContext *dst, unsigned dstpad);
678678
679+#if FF_API_LINK_PUBLIC
679680 /**
680− * Free the link in *link, and set its pointer to NULL.
681+ * @deprecated this function should never be called by users
681682 */
683+attribute_deprecated
682684 void avfilter_link_free(AVFilterLink **link);
685+#endif
683686
684687 /**
685688 * Negotiate the media format, dimensions, etc of all inputs to a filter.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t