[MPlayer-dev-eng] [PATCH] a couple of warning fixes in qt decoder and encoder

Arpi arpi at thot.banki.hu
Mon Dec 16 16:35:52 CET 2002


Hi,

> Nothing major this time, just a few trivial fixes to silence some warnings.

i left these out by reason.

> -    printf("Found it! ID = 0x%X\n",prev);
> +    printf("Found it! ID = %p\n",prev);

prev isn't a pointer but a 6-digit component id.

> -    printf("ImageCodecInitialize->%p  size=%d (%d)\n",cres,i
> cap.recordSize,icap.decompressRecordSize);
> +    printf("ImageCodecInitialize->%#lx  size=%d (%d)\n",cres

wtf is %#lx ? how portable is it?

> -    sh->context = kYUVSPixelFormat;
> +    sh->context = (void *)kYUVSPixelFormat;

it's  atemp. hack by alex, will be rewritten soon.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list