summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_vfw.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vd_vfw.c')
-rw-r--r--libmpcodecs/vd_vfw.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libmpcodecs/vd_vfw.c b/libmpcodecs/vd_vfw.c
index e9c5304dd8..8cf7b69541 100644
--- a/libmpcodecs/vd_vfw.c
+++ b/libmpcodecs/vd_vfw.c
@@ -24,7 +24,7 @@
#include "help_mp.h"
#include "vd_internal.h"
-
+#include "libmpdemux/aviprint.h"
#include "loader/wine/driver.h"
#include "loader/wine/vfw.h"
@@ -127,7 +127,6 @@ static int control(sh_video_t *sh,int cmd,void* arg,...){
case VDCTRL_SET_PP_LEVEL:
vfw_set_postproc(sh,10*(*((int*)arg)));
return CONTROL_OK;
-#if 1
// FIXME: make this optional...
case VDCTRL_QUERY_FORMAT:
{
@@ -147,13 +146,10 @@ static int control(sh_video_t *sh,int cmd,void* arg,...){
}
return CONTROL_TRUE;
}
-#endif
}
return CONTROL_UNKNOWN;
}
-void print_video_header(BITMAPINFOHEADER *h, int verbose_level);
-
// init driver
static int init(sh_video_t *sh){
HRESULT ret;
@@ -230,7 +226,6 @@ static int init(sh_video_t *sh){
priv->o_bih->biCompression = 0;
// sanity check:
-#if 1
#ifdef BUILD_VFWEX
ret = ICDecompressQueryEx(priv->handle, sh->bih, priv->o_bih);
#else
@@ -242,7 +237,6 @@ static int init(sh_video_t *sh){
// return 0;
} else
mp_msg(MSGT_WIN32,MSGL_V,"ICDecompressQuery OK\n");
-#endif
#ifdef BUILD_VFWEX
ret = ICDecompressBeginEx(priv->handle, sh->bih, priv->o_bih);