be less noisy

Originally committed as revision 8107 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-02-24 01:51:37 +00:00
parent bd91fee3d7
commit 0a3692cd82

View File

@ -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);
}