[vlc-devel] [PATCH 1/4] demux: mkv: fix compilation by gcc492 on OS/2
Jean-Baptiste Kempf
jb at videolan.org
Sun May 17 09:45:05 CEST 2015
OK.
On 17 May, KO Myung-Hun wrote :
> -----
> CXX demux/mkv/libmkv_plugin_la-virtual_segment.lo
> In file included from ../include/vlc_common.h:38:0,
> from demux/mkv/mkv.hpp:45,
> from demux/mkv/demux.hpp:28,
> from demux/mkv/virtual_segment.cpp:27:
> demux/mkv/demux.hpp: In constructor 'demux_sys_t::demux_sys_t(demux_t&)':
> ../include/vlc_config.h:43:33: error: 'INT64_C' was not declared in this scope
> #define VLC_TS_INVALID INT64_C(0)
> ^
> demux/mkv/demux.hpp:334:16: note: in expansion of macro 'VLC_TS_INVALID'
> ,i_pts(VLC_TS_INVALID)
> ^
> demux/mkv/virtual_segment.cpp: In member function 'bool virtual_segment_c::UpdateCurrentToChapter(demux_t&)':
> ../include/vlc_config.h:43:33: error: 'INT64_C' was not declared in this scope
> #define VLC_TS_INVALID INT64_C(0)
> ^
> demux/mkv/virtual_segment.cpp:407:23: note: in expansion of macro 'VLC_TS_INVALID'
> if ( sys.i_pts != VLC_TS_INVALID )
> ^
> ../include/vlc_config.h:44:27: error: 'INT64_C' was not declared in this scope
> #define VLC_TS_0 INT64_C(1)
> ^
> demux/mkv/virtual_segment.cpp:430:76: note: in expansion of macro 'VLC_TS_0'
> sys.i_start_pts = p_cur_chapter->i_mk_virtual_start_time + VLC_TS_0;
> ^
> make.exe[4]: *** [demux/mkv/libmkv_plugin_la-virtual_segment.lo] Error 1
> -----
> ---
> modules/demux/mkv/virtual_segment.cpp | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/modules/demux/mkv/virtual_segment.cpp b/modules/demux/mkv/virtual_segment.cpp
> index c7852d6..ab8ef26 100644
> --- a/modules/demux/mkv/virtual_segment.cpp
> +++ b/modules/demux/mkv/virtual_segment.cpp
> @@ -22,10 +22,10 @@
> * along with this program; if not, write to the Free Software Foundation,
> * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
> *****************************************************************************/
> -#include <vector>
> -
> #include "demux.hpp"
>
> +#include <vector>
> +
> /* FIXME move this */
> matroska_segment_c * getSegmentbyUID( KaxSegmentUID * p_uid, std::vector<matroska_segment_c*> *segments )
> {
> --
> 1.9.5
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
--
With my kindest regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list