|
From: Lasse Kärkkäi. <tr...@us...> - 2009-09-06 15:44:04
|
Module: performous
Branch: master
Commit: bb052406b738d0a71ec52d31d82358fcce1eeb78
Author: Lasse Karkkainen <tro...@tr...>
Date: Sun Sep 6 18:42:46 2009 +0300
Fix compiling editor on older versions of Boost (not a proper fix though).
---
editor/main.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/editor/main.cc b/editor/main.cc
index 2d5cc84..7ce6e18 100644
--- a/editor/main.cc
+++ b/editor/main.cc
@@ -1,7 +1,7 @@
#include "pitch.hh"
#include "ffmpeg.hh"
#include "notes.hh"
-#include <boost/math/special_functions/fpclassify.hpp>
+//#include <boost/math/special_functions/fpclassify.hpp>
int main(int argc, char **argv) {
@@ -20,7 +20,7 @@ int main(int argc, char **argv) {
// wait for ffmpeg to be ready
// TODO: fix this it is probably not enough
- while( boost::math::isinf(mpeg.duration()) ) ;
+ while(isinf(mpeg.duration()) ) ;
// this should majorate the song duration
int64_t duration = (mpeg.duration() + 0.5) * 48000 * 2;
|