mirror of https://github.com/mpv-player/mpv
Fixes for compilation with gcc versions != 3.2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10639 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a6267718f9
commit
78c617c1d8
|
@ -964,7 +964,7 @@ extern "C" int demux_mkv_open(demuxer_t *demuxer) {
|
||||||
es = mkv_d->es;
|
es = mkv_d->es;
|
||||||
|
|
||||||
// Find the EbmlHead element. Must be the first one.
|
// Find the EbmlHead element. Must be the first one.
|
||||||
l0 = es->FindNextID(EbmlHead::ClassInfos, 0xFFFFFFFFFFFFFFFFL);
|
l0 = es->FindNextID(EbmlHead::ClassInfos, 0xFFFFFFFFFFFFFFFFULL);
|
||||||
if (l0 == NULL) {
|
if (l0 == NULL) {
|
||||||
mp_msg(MSGT_DEMUX, MSGL_ERR, "[mkv] no head found\n");
|
mp_msg(MSGT_DEMUX, MSGL_ERR, "[mkv] no head found\n");
|
||||||
free_mkv_demuxer(mkv_d);
|
free_mkv_demuxer(mkv_d);
|
||||||
|
@ -976,7 +976,7 @@ extern "C" int demux_mkv_open(demuxer_t *demuxer) {
|
||||||
mp_msg(MSGT_DEMUX, MSGL_V, "[mkv] Found the head...\n");
|
mp_msg(MSGT_DEMUX, MSGL_V, "[mkv] Found the head...\n");
|
||||||
|
|
||||||
// Next element must be a segment
|
// Next element must be a segment
|
||||||
l0 = es->FindNextID(KaxSegment::ClassInfos, 0xFFFFFFFFFFFFFFFFL);
|
l0 = es->FindNextID(KaxSegment::ClassInfos, 0xFFFFFFFFFFFFFFFFULL);
|
||||||
if (l0 == NULL) {
|
if (l0 == NULL) {
|
||||||
mp_msg(MSGT_DEMUX, MSGL_V, "[mkv] but no segment :(\n");
|
mp_msg(MSGT_DEMUX, MSGL_V, "[mkv] but no segment :(\n");
|
||||||
free_mkv_demuxer(mkv_d);
|
free_mkv_demuxer(mkv_d);
|
||||||
|
|
Loading…
Reference in New Issue