changeset 3870:97a01cb166f5 libavformat

Remove pointless #ifdef CONFIG_VHOOK from the code. The file is only ever compiled if CONFIG_VHOOK is set.
author diego
date Tue, 02 Sep 2008 22:31:41 +0000
parents 9288b207a184
children e6aeb2733e34
files framehook.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/framehook.c	Tue Sep 02 20:48:45 2008 +0000
+++ b/framehook.c	Tue Sep 02 22:31:41 2008 +0000
@@ -41,7 +41,6 @@
 /* Returns 0 on OK */
 int frame_hook_add(int argc, char *argv[])
 {
-#ifdef CONFIG_VHOOK
     void *loaded;
     FrameHookEntry *fhe, **fhep;
 
@@ -87,10 +86,6 @@
     *fhep = fhe;
 
     return 0;
-#else
-    av_log(NULL, AV_LOG_ERROR, "Video hooking not compiled into this version\n");
-    return 1;
-#endif
 }
 
 void frame_hook_process(AVPicture *pict, enum PixelFormat pix_fmt, int width, int height, int64_t pts)