From b37b4b2089822b3d18d49ad416a84f51226d1534 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 2 Sep 2008 22:31:41 +0000 Subject: [PATCH] Remove pointless #ifdef CONFIG_VHOOK from the code. The file is only ever compiled if CONFIG_VHOOK is set. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15157 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavformat/framehook.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libavformat/framehook.c b/libavformat/framehook.c index eb5184f02a..90815fb1d6 100644 --- a/libavformat/framehook.c +++ b/libavformat/framehook.c @@ -41,7 +41,6 @@ static FrameHookEntry *first_hook; /* Returns 0 on OK */ int frame_hook_add(int argc, char *argv[]) { -#ifdef CONFIG_VHOOK void *loaded; FrameHookEntry *fhe, **fhep; @@ -87,10 +86,6 @@ int frame_hook_add(int argc, char *argv[]) *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) -- 2.11.4.GIT