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
84 av_free(ref);84 av_free(ref);
85}85}
86 86
87void avfilter_unref_bufferp(AVFilterBufferRef **ref)
88{
89 avfilter_unref_buffer(*ref);
90 *ref = NULL;
91}
92
87int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src)93int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src)
88{94{
89 dst->pts = src->pts;95 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