diff options
-rw-r--r-- | libao2/ao_pcm.c | 3 |
1 files changed, 1 insertions, 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"); |