Commit ba36a077 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avformat/matroskadec: Don't discard the upper 32bits of TrackNumber

Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
parent ed18ec55
...@@ -1545,7 +1545,7 @@ static int matroska_probe(const AVProbeData *p) ...@@ -1545,7 +1545,7 @@ static int matroska_probe(const AVProbeData *p)
} }
static MatroskaTrack *matroska_find_track_by_num(MatroskaDemuxContext *matroska, static MatroskaTrack *matroska_find_track_by_num(MatroskaDemuxContext *matroska,
int num) uint64_t num)
{ {
MatroskaTrack *tracks = matroska->tracks.elem; MatroskaTrack *tracks = matroska->tracks.elem;
int i; int i;
...@@ -1554,7 +1554,7 @@ static MatroskaTrack *matroska_find_track_by_num(MatroskaDemuxContext *matroska, ...@@ -1554,7 +1554,7 @@ static MatroskaTrack *matroska_find_track_by_num(MatroskaDemuxContext *matroska,
if (tracks[i].num == num) if (tracks[i].num == num)
return &tracks[i]; return &tracks[i];
av_log(matroska->ctx, AV_LOG_ERROR, "Invalid track number %d\n", num); av_log(matroska->ctx, AV_LOG_ERROR, "Invalid track number %"PRIu64"\n", num);
return NULL; return NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment