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

Showing the changes to libavfilter (1 of 1 file). Show all

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
403 */403 */
404#define AVFILTER_THREAD_SLICE (1 << 0)404#define AVFILTER_THREAD_SLICE (1 << 0)
405 405
406typedef struct AVFilterInternal AVFilterInternal;
407
408/** An instance of a filter */406/** An instance of a filter */
409struct AVFilterContext {407struct AVFilterContext {
410 const AVClass *av_class; ///< needed for av_log() and filters common options408 const AVClass *av_class; ///< needed for av_log() and filters common options
@@ -443,11 +441,6 @@ struct AVFilterContext { · 32 unmodified lines
443 */441 */
444 int thread_type;442 int thread_type;
445 443
446 /**
447 * An opaque struct for libavfilter internal use.
448 */
449 AVFilterInternal *internal;
450
451 struct AVFilterCommand *command_queue;444 struct AVFilterCommand *command_queue;
452 445
453 char *enable_str; ///< enable expression string446 char *enable_str; ///< enable expression string
@@ -788,8 +781,6 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt, · 334 unmodified lines
788 */781 */
789const AVClass *avfilter_get_class(void);782const AVClass *avfilter_get_class(void);
790 783
791typedef struct AVFilterGraphInternal AVFilterGraphInternal;
792
793/**784/**
794 * A function pointer passed to the @ref AVFilterGraph.execute callback to be785 * A function pointer passed to the @ref AVFilterGraph.execute callback to be
795 * executed multiple times, possibly in parallel.786 * executed multiple times, possibly in parallel.
@@ -847,11 +838,6 @@ typedef struct AVFilterGraph { · 51 unmodified lines
847 */838 */
848 int nb_threads;839 int nb_threads;
849 840
850 /**
851 * Opaque object for libavfilter internal use.
852 */
853 AVFilterGraphInternal *internal;
854
855 /**841 /**
856 * Opaque user data. May be set by the caller to an arbitrary value, e.g. to842 * Opaque user data. May be set by the caller to an arbitrary value, e.g. to
857 * be used from callbacks like @ref AVFilterGraph.execute.843 * 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