Module: sems Branch: master Commit: 61dd8a06a2ac290bdf71e16d97679279e09a04d7 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=61dd8a06a2ac290bdf71e16d97679279e09a04d7
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Mon Mar 19 11:57:56 2012 +0100 b/f: remove 'always true' comparisons, due to previous type change. see c7b3b1e3c34a425656c4ea0954cfec4dabc62e4b. --- core/AmAudioFile.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/AmAudioFile.cpp b/core/AmAudioFile.cpp index c86ddd5..dc9e831 100644 --- a/core/AmAudioFile.cpp +++ b/core/AmAudioFile.cpp @@ -192,11 +192,11 @@ int AmAudioFile::fpopen_int(const string& filename, OpenMode mode, if(open_mode == AmAudioFile::Write){ - if (f_fmt->channels<0 || f_fmt->getRate()<0) { + if (f_fmt->channels<0 /*|| f_fmt->getRate()<0*/) { if (f_fmt->channels<0) ERROR("channel count must be set for output file.\n"); - if (f_fmt->getRate()<0) - ERROR("sampling rate must be set for output file.\n"); + // if (f_fmt->getRate()<0) + // ERROR("sampling rate must be set for output file.\n"); close(); return -1; } _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
