From 0a3692cd827c607a4c224bbd72157449a0242da6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 24 Feb 2007 01:51:37 +0000 Subject: [PATCH] be less noisy Originally committed as revision 8107 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/riff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/riff.c b/libavformat/riff.c index 95d871b5cd..89cfb512ec 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -317,7 +317,7 @@ int put_wav_header(ByteIOContext *pb, AVCodecContext *enc) } else { bps = 16; } - if(bps != enc->bits_per_sample){ + if(bps != enc->bits_per_sample && enc->bits_per_sample){ av_log(enc, AV_LOG_WARNING, "requested bits_per_sample (%d) and actually stored (%d) differ\n", enc->bits_per_sample, bps); }