From 0f886c7afffe57544ed463a38136c06dda2937dc Mon Sep 17 00:00:00 2001 From: atmosfear Date: Tue, 12 Jun 2001 14:37:32 +0000 Subject: [PATCH] Ooops git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1114 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_pcm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libao2/ao_pcm.c b/libao2/ao_pcm.c index 51ab5bace2..6cc74873e4 100644 --- a/libao2/ao_pcm.c +++ b/libao2/ao_pcm.c @@ -80,11 +80,10 @@ static int init(int rate,int channels,int format,int flags){ strcpy(ao_outputfilename,(ao_pcm_waveheader ? "audiodump.wav" : "audiodump.pcm")); } - wavhdr.fmt_length = 16; /* = format? */ wavhdr.channels = channels; wavhdr.sample_rate = rate; wavhdr.bytes_per_second = rate * (format / 8) * channels; - wavhdr.bits = format, + wavhdr.bits = format; printf("PCM: File: %s (%s) Samplerate: %iHz Channels: %s Format %s\n", ao_outputfilename, (ao_pcm_waveheader?"WAVE":"RAW PCM"), rate, (channels > 1) ? "Stereo" : "Mono", audio_out_format_name(format)); printf("PCM: Info - fastest dumping is achieved with -vo null -hardframedrop.\n");