lavfi: deprecate avfilter_link_free()
It never makes sense for this function to be called by users.
This commit is contained in:
parent
c0aee39412
commit
6b1f41e152
3 changed files with 15 additions and 3 deletions
|
|
@ -676,10 +676,13 @@ struct AVFilterLink {
|
|||
int avfilter_link(AVFilterContext *src, unsigned srcpad,
|
||||
AVFilterContext *dst, unsigned dstpad);
|
||||
|
||||
#if FF_API_LINK_PUBLIC
|
||||
/**
|
||||
* Free the link in *link, and set its pointer to NULL.
|
||||
* @deprecated this function should never be called by users
|
||||
*/
|
||||
attribute_deprecated
|
||||
void avfilter_link_free(AVFilterLink **link);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Negotiate the media format, dimensions, etc of all inputs to a filter.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue