diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-26 06:17:24 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-20 03:50:59 +0300 |
commit | 15f051e09a53a8ab79c334b907b842ebdffd816d (patch) | |
tree | 6898404c490491542c9482cc4571416a614d36f9 | |
parent | e7b36268be1305242a835d0e5771430ea463d8d2 (diff) |
avformat/matroskadec: Don't discard the upper 32bits of TrackNumber
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit ba36a077342c01faa3f3deb841e8cdcc1379ea3d)
-rw-r--r-- | libavformat/matroskadec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 41557f0964..36bd9c3848 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1556,7 +1556,7 @@ static int matroska_probe(const AVProbeData *p) } static MatroskaTrack *matroska_find_track_by_num(MatroskaDemuxContext *matroska, - int num) + uint64_t num) { MatroskaTrack *tracks = matroska->tracks.elem; int i; @@ -1565,7 +1565,7 @@ static MatroskaTrack *matroska_find_track_by_num(MatroskaDemuxContext *matroska, if (tracks[i].num == num) 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; } |