From dd17c86aa11feae2b86de054dd0679cc5f88ebab Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 19 Jan 2022 23:20:05 +0100 Subject: [PATCH] avformat/matroskadec: Use correct type for field_order It is unsigned in the spec and read from an uint64_t field. Signed-off-by: Andreas Rheinhardt --- libavformat/matroskadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 78e5a4a203..594543748d 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -2095,7 +2095,7 @@ static int matroska_parse_flac(AVFormatContext *s, return 0; } -static int mkv_field_order(MatroskaDemuxContext *matroska, int64_t field_order) +static int mkv_field_order(MatroskaDemuxContext *matroska, uint64_t field_order) { int minor, micro, bttb = 0;