Commit 0a3692cd authored by Michael Niedermayer's avatar Michael Niedermayer

be less noisy

Originally committed as revision 8107 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bd91fee3
...@@ -317,7 +317,7 @@ int put_wav_header(ByteIOContext *pb, AVCodecContext *enc) ...@@ -317,7 +317,7 @@ int put_wav_header(ByteIOContext *pb, AVCodecContext *enc)
} else { } else {
bps = 16; 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); av_log(enc, AV_LOG_WARNING, "requested bits_per_sample (%d) and actually stored (%d) differ\n", enc->bits_per_sample, bps);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment