changeset 1814:d431b26ff5ef libavformat

be less noisy
author michael
date Sat, 24 Feb 2007 01:51:37 +0000
parents 040097642b13
children 6b76db126b72
files riff.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
     }