History

lavfi: add avfilter_unref_bufferp()

Robert Nagy committed 14 years ago

Commit b70d89a1 parent ce64e5b3 files · +21 −0Browse files

Showing the changes to libavfilter/buffer.c (1 of 3 files). Show all

Unified · Split

libavfilter/buffer.c+6−0
@@ -84,6 +84,12 @@ void avfilter_unref_buffer(AVFilterBufferRef *ref) · 83 unmodified lines
8484 av_free(ref);
8585 }
8686
87+void avfilter_unref_bufferp(AVFilterBufferRef **ref)
88+{
89+ avfilter_unref_buffer(*ref);
90+ *ref = NULL;
91+}
92+
8793 int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src)
8894 {
8995 dst->pts = src->pts;

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