summaryrefslogtreecommitdiff
path: root/libavfilter/allfilters.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-03-03 20:53:15 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-03-03 20:53:15 +0000
commit81124ba0d14a2a86ec555a29d4cd8cc97b84fa13 (patch)
tree758c47c28e72ac2b730caa1e054b0920f9875c9c /libavfilter/allfilters.c
parentf15e6b869fc1ff3ffef1b1ac7b394e2155b5fafe (diff)
downloadffmpeg-81124ba0d14a2a86ec555a29d4cd8cc97b84fa13.tar.gz
Fix libavfilter compilation and make it more in line
with the other libav*. Originally committed as revision 12301 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/allfilters.c')
-rw-r--r--libavfilter/allfilters.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c
index fafd6d1c62..8ea052805c 100644
--- a/libavfilter/allfilters.c
+++ b/libavfilter/allfilters.c
@@ -21,14 +21,10 @@
#include "avfilter.h"
-#define REGISTER_VF(X,x) { \
- extern AVFilter avfilter_vf_##x ; \
- if(ENABLE_VF_##X ) avfilter_register(&avfilter_vf_##x ); }
-
-#define REGISTER_VSRC(X,x) { \
- extern AVFilter avfilter_vsrc_##x ; \
- if(ENABLE_VSRC_##X ) avfilter_register(&avfilter_vsrc_##x ); }
+#define REGISTER_FILTER(X,x,y) { \
+ extern AVFilter avfilter_##y##_##x ; \
+ if(ENABLE_##X##_FILTER ) avfilter_register(&avfilter_##y##_##x ); }
void avfilter_register_all(void)
{
@@ -38,6 +34,6 @@ void avfilter_register_all(void)
return;
initialized = 1;
-// REGISTER_VF(CROP,crop);
+// REGISTER_FILTER (CROP,crop,vf);
}