[vlc-devel] [PATCH 3/4] demux: dash: mp4: fix compilation by gcc492 on OS/2
KO Myung-Hun
komh78 at gmail.com
Sun May 17 04:12:19 CEST 2015
-----
CXX demux/dash/mp4/libdash_plugin_la-AtomsReader.lo
In file included from ../include/vlc_common.h:38:0,
from demux/dash/mp4/AtomsReader.hpp:27,
from demux/dash/mp4/AtomsReader.cpp:20:
demux/dash/mp4/AtomsReader.cpp: In member function 'bool dash::mp4::AtomsReader::parseBlock(void*, size_t, adaptative::playlist::BaseRepresentation*)':
../include/vlc_config.h:46:35: error: 'INT64_C' was not declared in this scope
#define CLOCK_FREQ INT64_C(1000000)
^
demux/dash/mp4/AtomsReader.cpp:78:35: note: in expansion of macro 'CLOCK_FREQ'
point.time += CLOCK_FREQ * sidx->p_items[i].i_subsegment_duration /
^
make.exe[4]: *** [demux/dash/mp4/libdash_plugin_la-AtomsReader.lo] Error 1
-----
---
modules/demux/dash/mp4/AtomsReader.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/demux/dash/mp4/AtomsReader.cpp b/modules/demux/dash/mp4/AtomsReader.cpp
index c7e42d3..3a0952d 100644
--- a/modules/demux/dash/mp4/AtomsReader.cpp
+++ b/modules/demux/dash/mp4/AtomsReader.cpp
@@ -17,6 +17,8 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#define __STDC_CONSTANT_MACROS
+
#include "AtomsReader.hpp"
#include "mpd/Representation.h"
#include "mpd/MPD.h"
--
1.9.5
More information about the vlc-devel
mailing list