History

avfilter: Add some missing FF_API_AVFILTERBUFFER ifdefs

Diego Biurrun committed 13 years ago

Commit 45dd1ae1 parent c2e936d2 files · +6 −0Browse files

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

Unified · Split

libavfilter/buffer.c+3−0
@@ -22,7 +22,9 @@ · 21 unmodified lines
2222
2323 #include "avfilter.h"
2424 #include "internal.h"
25+#include "version.h"
2526
27+#if FF_API_AVFILTERBUFFER
2628 /* TODO: buffer pool. see comment for avfilter_default_get_video_buffer() */
2729 void ff_avfilter_default_free_buffer(AVFilterBuffer *ptr)
2830 {
@@ -173,3 +175,4 @@ void avfilter_copy_buffer_ref_props(AVFilterBufferRef *dst, AVFilterBufferRef *s · 144 unmodified lines
173175 default: break;
174176 }
175177 }
178+#endif /* FF_API_AVFILTERBUFFER */

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