History

avfilter/avfilter: Remove always-NULL pointers to internal contexts

Made possible by db98b0e04e04079be3ee51d14659b660c0f7f77a and 03567ed80cf1cfdbf59f902cbf1dd2c35cc3de6a.

Andreas Rheinhardt committed 2 years ago

Commit a7659241 parent cd93ba61 file · +0 −14Browse files

Unified · Split

libavfilter/avfilter.h+0−14
@@ -403,8 +403,6 @@ unsigned avfilter_filter_pad_count(const AVFilter *filter, int is_output); · 402 unmodified lines
403403 */
404404 #define AVFILTER_THREAD_SLICE (1 << 0)
405405
406−typedef struct AVFilterInternal AVFilterInternal;
407−
408406 /** An instance of a filter */
409407 struct AVFilterContext {
410408 const AVClass *av_class; ///< needed for av_log() and filters common options
@@ -443,11 +441,6 @@ struct AVFilterContext { · 32 unmodified lines
443441 */
444442 int thread_type;
445443
446− /**
447− * An opaque struct for libavfilter internal use.
448− */
449− AVFilterInternal *internal;
450−
451444 struct AVFilterCommand *command_queue;
452445
453446 char *enable_str; ///< enable expression string
@@ -788,8 +781,6 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, · 334 unmodified lines
788781 */
789782 const AVClass *avfilter_get_class(void);
790783
791−typedef struct AVFilterGraphInternal AVFilterGraphInternal;
792−
793784 /**
794785 * A function pointer passed to the @ref AVFilterGraph.execute callback to be
795786 * executed multiple times, possibly in parallel.
@@ -847,11 +838,6 @@ typedef struct AVFilterGraph { · 51 unmodified lines
847838 */
848839 int nb_threads;
849840
850− /**
851− * Opaque object for libavfilter internal use.
852− */
853− AVFilterGraphInternal *internal;
854−
855841 /**
856842 * Opaque user data. May be set by the caller to an arbitrary value, e.g. to
857843 * be used from callbacks like @ref AVFilterGraph.execute.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t