It never makes sense for this function to be called by users.
Showing the changes to libavfilter/avfilter.h (1 of 3 files). Show all
Unified · Split
| @@ -676,10 +676,13 @@ struct AVFilterLink { · 675 unmodified lines | |||
| 676 | int avfilter_link(AVFilterContext *src, unsigned srcpad, | 676 | int avfilter_link(AVFilterContext *src, unsigned srcpad, |
| 677 | AVFilterContext *dst, unsigned dstpad); | 677 | AVFilterContext *dst, unsigned dstpad); |
| 678 | 678 | ||
| 679 | #if FF_API_LINK_PUBLIC | ||
| 679 | /** | 680 | /** |
| 680 | * Free the link in *link, and set its pointer to NULL. | 681 | * @deprecated this function should never be called by users |
| 681 | */ | 682 | */ |
| 683 | attribute_deprecated | ||
| 682 | void avfilter_link_free(AVFilterLink **link); | 684 | void avfilter_link_free(AVFilterLink **link); |
| 685 | #endif | ||
| 683 | 686 | ||
| 684 | /** | 687 | /** |
| 685 | * Negotiate the media format, dimensions, etc of all inputs to a filter. | 688 | * Negotiate the media format, dimensions, etc of all inputs to a filter. |