summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-11-08 23:18:18 +0000
committerMåns Rullgård <mans@mansr.com>2006-11-08 23:18:18 +0000
commitd226c75084fa31dc12cbef7657ecbd6f7133d172 (patch)
tree95cd866709e1b62884124ed21a547a9551fd0521
parent1f51da1b4afe0476cee8f5e608000661716d67b6 (diff)
rename HAVE_VHOOK/BUILD_VHOOK to CONFIG_VHOOK
Originally committed as revision 6949 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--Makefile4
-rwxr-xr-xconfigure4
-rw-r--r--libavformat/framehook.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ebcb2d826d..4ad6023bf3 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ else
DEP_LIBS=libavcodec/$(LIBPREF)avcodec$(LIBSUF) libavformat/$(LIBPREF)avformat$(LIBSUF)
endif
-ifeq ($(BUILD_VHOOK),yes)
+ifeq ($(CONFIG_VHOOK),yes)
VHOOK=videohook
INSTALLVHOOK=install-vhook
endif
@@ -205,7 +205,7 @@ endif
ifeq ($(CONFIG_SWSCALER),yes)
$(MAKE) -C libswscale depend
endif
-ifeq ($(BUILD_VHOOK),yes)
+ifeq ($(CONFIG_VHOOK),yes)
$(MAKE) -C vhook depend
endif
diff --git a/configure b/configure
index 1e06b4940e..dcbaa55bc5 100755
--- a/configure
+++ b/configure
@@ -1835,8 +1835,8 @@ if test "$have_lrintf" = "yes" ; then
echo "#define HAVE_LRINTF 1" >> $TMPH
fi
if test "$vhook" = "yes" ; then
- echo "BUILD_VHOOK=yes" >> config.mak
- echo "#define HAVE_VHOOK 1" >> $TMPH
+ echo "CONFIG_VHOOK=yes" >> config.mak
+ echo "#define CONFIG_VHOOK 1" >> $TMPH
fi
sws_version=`grep '#define LIBSWSCALE_VERSION ' "$source_path/libswscale/swscale.h" | sed 's/[^0-9\.]//g'`
diff --git a/libavformat/framehook.c b/libavformat/framehook.c
index e6624e80f8..c85296160b 100644
--- a/libavformat/framehook.c
+++ b/libavformat/framehook.c
@@ -41,7 +41,7 @@ static FrameHookEntry *first_hook;
/* Returns 0 on OK */
int frame_hook_add(int argc, char *argv[])
{
-#ifdef HAVE_VHOOK
+#ifdef CONFIG_VHOOK
void *loaded;
FrameHookEntry *fhe, **fhep;