History

lavfi: add avfilter_unref_bufferp()

Robert Nagy committed 14 years ago

Commit 65fa7bc1 parent 455fcf24 files · +19 −1Browse files

Showing the changes to libavfilter/avfilter.h (1 of 4 files). Show all

Unified · Split

libavfilter/avfilter.h+9−0
@@ -187,6 +187,15 @@ AVFilterBufferRef *avfilter_ref_buffer(AVFilterBufferRef *ref, int pmask); · 186 unmodified lines
187187 */
188188 void avfilter_unref_buffer(AVFilterBufferRef *ref);
189189
190+/**
191+ * Remove a reference to a buffer and set the pointer to NULL.
192+ * If this is the last reference to the buffer, the buffer itself
193+ * is also automatically freed.
194+ *
195+ * @param ref pointer to the buffer reference
196+ */
197+void avfilter_unref_bufferp(AVFilterBufferRef **ref);
198+
190199 /**
191200 * A list of supported formats for one end of a filter link. This is used
192201 * during the format negotiation process to try to pick the best format to

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