[FFmpeg-cvslog] r15157 - trunk/libavformat/framehook.c
diego
subversion
Wed Sep 3 00:31:42 CEST 2008
Author: diego
Date: Wed Sep 3 00:31:41 2008
New Revision: 15157
Log:
Remove pointless #ifdef CONFIG_VHOOK from the code.
The file is only ever compiled if CONFIG_VHOOK is set.
Modified:
trunk/libavformat/framehook.c
Modified: trunk/libavformat/framehook.c
==============================================================================
--- trunk/libavformat/framehook.c (original)
+++ trunk/libavformat/framehook.c Wed Sep 3 00:31:41 2008
@@ -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)
More information about the ffmpeg-cvslog
mailing list