[MPlayer-dev-eng] [patch] 64-bit fixes

D Richard Felker III dalias at aerifal.cx
Fri May 24 00:49:08 CEST 2002


On Thu, May 23, 2002 at 03:53:28PM +0200, Alex Beregszaszi wrote:
> +++ libmpcodecs/vf_palette.c
> @@ -19,14 +19,14 @@
>      IMGFMT_BGR24,
>      IMGFMT_BGR16,
>      IMGFMT_BGR15,
> -    NULL
> +    0
>  };

For correctness. NULL is (void*)0, not whats wanted here. The compiler
will fix it, but using NULL when you mean 0 is still wrong and
confusing.

Rich




More information about the MPlayer-dev-eng mailing list