NULL->0 (warning fix)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7274 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-09-04 22:34:17 +00:00
parent 000e8626d1
commit 4d93a9c4e6
1 changed files with 2 additions and 2 deletions

View File

@ -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) &&