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 /mencoder.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 'mencoder.c')
-rw-r--r-- | mencoder.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mencoder.c b/mencoder.c index 8e10096669..ff7989a06a 100644 --- a/mencoder.c +++ b/mencoder.c @@ -289,6 +289,7 @@ void mencoder_write_chunk(aviwrite_stream_t *s,int len,unsigned int flags){ aviwrite_write_chunk(muxer,s,muxer_f,len,flags); } +extern void print_wave_header(WAVEFORMATEX *h); int main(int argc,char* argv[]){ @@ -684,7 +685,7 @@ case ACODEC_COPY: mux_a->h.dwScale=mux_a->h.dwSampleSize; mux_a->h.dwRate=mux_a->wf->nAvgBytesPerSec; } - printf("audiocodec: framecopy (format=%x chans=%d rate=%d bits=%d bps=%d sample=%d)\n", + printf("audiocodec: framecopy (format=%x chans=%d rate=%ld bits=%d bps=%ld sample=%ld)\n", mux_a->wf->wFormatTag, mux_a->wf->nChannels, mux_a->wf->nSamplesPerSec, mux_a->wf->wBitsPerSample, mux_a->wf->nAvgBytesPerSec, mux_a->h.dwSampleSize); break; @@ -1194,7 +1195,7 @@ if(sh_audio && mux_a->codec==ACODEC_VBRMP3 && !lame_param_vbr){ mux_a->h.dwRate=mux_a->wf->nAvgBytesPerSec; mux_a->h.dwScale=1; mux_a->wf->nBlockAlign=1; - printf("\n\nCBR audio: %d bytes/sec, %d bytes/block\n", + printf("\n\nCBR audio: %ld bytes/sec, %d bytes/block\n", mux_a->h.dwRate,((MPEGLAYER3WAVEFORMAT*)(mux_a->wf))->nBlockSize); } #endif |