summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-04 22:34:17 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-04 22:34:17 +0000
commit4d93a9c4e685a81ba95e1f9beb7e7f6feff72a72 (patch)
tree1b760a88e7685d9d93b60872b8a4309b53bf0687 /libmpcodecs
parent000e8626d1f6f52466b70e1801afb5b4d09168e6 (diff)
downloadmpv-4d93a9c4e685a81ba95e1f9beb7e7f6feff72a72.tar.bz2
mpv-4d93a9c4e685a81ba95e1f9beb7e7f6feff72a72.tar.xz
NULL->0 (warning fix)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7274 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_vfw.c4
1 files 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) &&