[FFmpeg-cvslog] avfilter/avfilter: Remove always-NULL pointers to internal contexts
Andreas Rheinhardt
git at videolan.org
Thu Mar 7 16:42:36 EET 2024
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Feb 23 00:39:45 2024 +0100| [a76592440edacadeb4c4dd121b91c3028c8e522b] | committer: James Almer
avfilter/avfilter: Remove always-NULL pointers to internal contexts
Made possible by db98b0e04e04079be3ee51d14659b660c0f7f77a
and 03567ed80cf1cfdbf59f902cbf1dd2c35cc3de6a.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a76592440edacadeb4c4dd121b91c3028c8e522b
---
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.
More information about the ffmpeg-cvslog
mailing list