diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-06 23:54:29 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-11-06 23:54:29 +0000 |
commit | f859d013a883bbba59901303f644fe281454a63d (patch) | |
tree | e71729f1990b98ab27a8672e92a656d622c5ab19 /libmpdemux/aviprint.c | |
parent | d1d7c653674e32de3a4aa47ee4068c57b288adb7 (diff) | |
download | mpv-f859d013a883bbba59901303f644fe281454a63d.tar.bz2 mpv-f859d013a883bbba59901303f644fe281454a63d.tar.xz |
*HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/aviprint.c')
-rw-r--r-- | libmpdemux/aviprint.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libmpdemux/aviprint.c b/libmpdemux/aviprint.c index 87d02ea350..bdca364c36 100644 --- a/libmpdemux/aviprint.c +++ b/libmpdemux/aviprint.c @@ -64,7 +64,7 @@ void print_wave_header(WAVEFORMATEX *h){ if(h->wFormatTag==0x55 && h->cbSize>=12){ MPEGLAYER3WAVEFORMAT* h2=(MPEGLAYER3WAVEFORMAT *)h; printf("mp3.wID=%d\n",h2->wID); - printf("mp3.fdwFlags=0x%X\n",h2->fdwFlags); + printf("mp3.fdwFlags=0x%lX\n",h2->fdwFlags); printf("mp3.nBlockSize=%d\n",h2->nBlockSize); printf("mp3.nFramesPerBlock=%d\n",h2->nFramesPerBlock); printf("mp3.nCodecDelay=%d\n",h2->nCodecDelay); @@ -83,13 +83,13 @@ void print_wave_header(WAVEFORMATEX *h){ void print_video_header(BITMAPINFOHEADER *h){ printf("======= VIDEO Format ======\n"); - printf(" biSize %ld\n", h->biSize); - printf(" biWidth %ld\n", h->biWidth); - printf(" biHeight %ld\n", h->biHeight); + printf(" biSize %d\n", h->biSize); + printf(" biWidth %d\n", h->biWidth); + printf(" biHeight %d\n", h->biHeight); printf(" biPlanes %d\n", h->biPlanes); printf(" biBitCount %d\n", h->biBitCount); - printf(" biCompression %ld='%.4s'\n", h->biCompression, (char *)&h->biCompression); - printf(" biSizeImage %ld\n", h->biSizeImage); + printf(" biCompression %d='%.4s'\n", h->biCompression, (char *)&h->biCompression); + printf(" biSizeImage %d\n", h->biSizeImage); printf("===========================\n"); } |