[vlc-commits] Demux smooth: playlist: fix compilation

KO Myung-Hun git at videolan.org
Fri Nov 6 10:17:29 CET 2015


vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Fri Nov  6 15:22:00 2015 +0900| [8bf3333fa6195039bd79fe1395b4342db7b44f0f] | committer: Jean-Baptiste Kempf

Demux smooth: playlist: fix compilation

-----
  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 );
                              ^
-----

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8bf3333fa6195039bd79fe1395b4342db7b44f0f
---

 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>
 



More information about the vlc-commits mailing list