From a76592440edacadeb4c4dd121b91c3028c8e522b Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 23 Feb 2024 00:39:45 +0100 Subject: [PATCH] avfilter/avfilter: Remove always-NULL pointers to internal contexts Made possible by db98b0e04e04079be3ee51d14659b660c0f7f77a and 03567ed80cf1cfdbf59f902cbf1dd2c35cc3de6a. Signed-off-by: Andreas Rheinhardt --- libavfilter/avfilter.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index cf759c45c3..1182af2825 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -403,8 +403,6 @@ unsigned avfilter_filter_pad_count(const AVFilter *filter, int is_output); */ #define AVFILTER_THREAD_SLICE (1 << 0) -typedef struct AVFilterInternal AVFilterInternal; - /** An instance of a filter */ struct AVFilterContext { const AVClass *av_class; ///< needed for av_log() and filters common options @@ -443,11 +441,6 @@ struct AVFilterContext { */ int thread_type; - /** - * An opaque struct for libavfilter internal use. - */ - AVFilterInternal *internal; - struct AVFilterCommand *command_queue; char *enable_str; ///< enable expression string @@ -788,8 +781,6 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, */ const AVClass *avfilter_get_class(void); -typedef struct AVFilterGraphInternal AVFilterGraphInternal; - /** * A function pointer passed to the @ref AVFilterGraph.execute callback to be * executed multiple times, possibly in parallel. @@ -847,11 +838,6 @@ typedef struct AVFilterGraph { */ int nb_threads; - /** - * Opaque object for libavfilter internal use. - */ - AVFilterGraphInternal *internal; - /** * Opaque user data. May be set by the caller to an arbitrary value, e.g. to * be used from callbacks like @ref AVFilterGraph.execute.