OSDN Git Service

rename HAVE_VHOOK/BUILD_VHOOK to CONFIG_VHOOK
authorMåns Rullgård <mans@mansr.com>
Wed, 8 Nov 2006 23:18:18 +0000 (23:18 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 8 Nov 2006 23:18:18 +0000 (23:18 +0000)
Originally committed as revision 6949 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile
configure
libavformat/framehook.c

index ebcb2d8..4ad6023 100644 (file)
--- 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
 
index 1e06b49..dcbaa55 100755 (executable)
--- 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'`
index e6624e8..c852961 100644 (file)
@@ -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;