From 4d93a9c4e685a81ba95e1f9beb7e7f6feff72a72 Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 4 Sep 2002 22:34:17 +0000 Subject: [PATCH] NULL->0 (warning fix) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7274 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_vfw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpcodecs/vd_vfw.c b/libmpcodecs/vd_vfw.c index e1c843c315..67df32c862 100644 --- a/libmpcodecs/vd_vfw.c +++ b/libmpcodecs/vd_vfw.c @@ -45,7 +45,7 @@ static int vfw_set_postproc(sh_video_t* sh, int quality) { vd_vfw_ctx *priv = sh->context; // Works only with opendivx/divx4 based DLL - return ICSendMessage(priv->handle, ICM_USER+80, (long)(&quality) ,NULL); + return ICSendMessage(priv->handle, ICM_USER+80, (long)(&quality), 0); } static void set_csp(BITMAPINFOHEADER *o_bih,unsigned int outfmt){ @@ -238,7 +238,7 @@ static int init(sh_video_t *sh){ if(verbose) print_video_header(priv->o_bih); // set postprocessing level in xvid/divx4 .dll - ICSendMessage(priv->handle, ICM_USER+80, (long)(&divx_quality) ,NULL); + ICSendMessage(priv->handle, ICM_USER+80, (long)(&divx_quality), 0); // don't do this palette mess always, it makes div3 dll crashing... if((sh->codec->outfmt[sh->outfmtidx]==IMGFMT_BGR8) &&