History

avfiltergraph: make the AVFilterInOut alloc/free API public

This is required for letting applications to create and destroy AVFilterInOut structs in a convenient way.

Stefano Sabatini committed 15 years ago

Commit 91d3cbe1 parent 12e7e1d6 files · +42 −20Browse files

Showing the changes to libavfilter/avfiltergraph.h (1 of 6 files). Show all

Unified · Split

libavfilter/avfiltergraph.h+13−0
@@ -111,6 +111,19 @@ typedef struct AVFilterInOut { · 110 unmodified lines
111 struct AVFilterInOut *next;111 struct AVFilterInOut *next;
112} AVFilterInOut;112} AVFilterInOut;
113 113
114/**
115 * Allocate a single AVFilterInOut entry.
116 * Must be freed with avfilter_inout_free().
117 * @return allocated AVFilterInOut on success, NULL on failure.
118 */
119AVFilterInOut *avfilter_inout_alloc(void);
120
121/**
122 * Free the supplied list of AVFilterInOut and set *inout to NULL.
123 * If *inout is NULL, do nothing.
124 */
125void avfilter_inout_free(AVFilterInOut **inout);
126
114/**127/**
115 * Add a graph described by a string to a graph.128 * Add a graph described by a string to a graph.
116 *129 *

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