mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-20 06:11:04 +00:00
avfilter/avfilter: Remove always-NULL pointers to internal contexts
Made possible bydb98b0e04e
and03567ed80c
. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
cd93ba6531
commit
a76592440e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user