[vlc-devel] [PATCH] demux: smooth: playlist: fix compilation
KO Myung-Hun
komh78 at gmail.com
Fri Nov 6 07:22:00 CET 2015
-----
CXX demux/smooth/playlist/libadaptative_plugin_la-Manifest.lo
In file included from ../include/vlc_common.h:38:0,
from ./demux/adaptative/../adaptative/playlist/Url.hpp:29,
from ./demux/adaptative/../adaptative/playlist/ICanonicalUrl.hpp:23,
from ./demux/adaptative/../adaptative/playlist/AbstractPlaylist.hpp:27,
from demux/smooth/playlist/Manifest.hpp:23,
from demux/smooth/playlist/Manifest.cpp:20:
demux/smooth/playlist/Manifest.cpp: In constructor 'smooth::playlist::Manifest::Manifest(stream_t*)':
../include/vlc_config.h:46:35: error: 'INT64_C' was not declared in this scope
#define CLOCK_FREQ INT64_C(1000000)
^
demux/smooth/playlist/Manifest.cpp:35:30: note: in expansion of macro 'CLOCK_FREQ'
minUpdatePeriod.Set( 5 * CLOCK_FREQ );
^
-----
---
modules/demux/smooth/playlist/Manifest.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/demux/smooth/playlist/Manifest.cpp b/modules/demux/smooth/playlist/Manifest.cpp
index c43320d..f7e7986 100644
--- a/modules/demux/smooth/playlist/Manifest.cpp
+++ b/modules/demux/smooth/playlist/Manifest.cpp
@@ -17,13 +17,13 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#include "Manifest.hpp"
-#include "../adaptative/playlist/BasePeriod.h"
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include "Manifest.hpp"
+#include "../adaptative/playlist/BasePeriod.h"
+
#include <vlc_common.h>
#include <vlc_stream.h>
--
2.6.0
More information about the vlc-devel
mailing list