mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user