changeset 7273:6cca0ab10e19

NULL->0 (warning fix)
author arpi
date Wed, 04 Sep 2002 22:34:17 +0000
parents fcbe94c83ff6
children 984bd81b79f1
files libmpcodecs/vd_vfw.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_vfw.c	Wed Sep 04 21:53:38 2002 +0000
+++ b/libmpcodecs/vd_vfw.c	Wed Sep 04 22:34:17 2002 +0000
@@ -45,7 +45,7 @@
 {
     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 @@
     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) &&