|
From: Yoda-JM <yo...@us...> - 2009-09-23 14:58:08
|
Module: performous
Branch: master
Commit: f8d0d4033bcb1c935009dfcce2ce42041f7a906a
Author: Vincent Le Ligeour <yo...@us...>
Date: Wed Sep 23 14:33:57 2009 +0200
Fixed missing include file (Xaldyz fix)
---
editor/main.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/editor/main.cc b/editor/main.cc
index 04d4ef6..f5970f6 100644
--- a/editor/main.cc
+++ b/editor/main.cc
@@ -3,6 +3,8 @@
#include "notes.hh"
//#include <boost/math/special_functions/fpclassify.hpp>
+#include <cmath>
+
int main(int argc, char **argv) {
if (argc < 2)
@@ -20,7 +22,7 @@ int main(int argc, char **argv) {
// wait for ffmpeg to be ready
// TODO: fix this it is probably not enough
- while(isinf(mpeg.duration()) ) ;
+ while(std::isinf(mpeg.duration()) ) ;
// this should majorate the song duration
int64_t duration = (mpeg.duration() + 0.5) * 48000 * 2;
|