diff riff.c @ 1814:d431b26ff5ef libavformat

be less noisy
author michael
date Sat, 24 Feb 2007 01:51:37 +0000
parents 2c2e787782bb
children 2afa964cc3ea
line wrap: on
line diff
--- a/riff.c	Fri Feb 23 23:35:42 2007 +0000
+++ b/riff.c	Sat Feb 24 01:51:37 2007 +0000
@@ -317,7 +317,7 @@
     } 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);
     }