From 549045254c4614d5d61b5c36e340171a6914d57c Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Mon, 27 Mar 2017 21:31:46 +0200 Subject: Fix all -Wformat warnings raised by DJGPP --- libavformat/srtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/srtdec.c') diff --git a/libavformat/srtdec.c b/libavformat/srtdec.c index 067db63f21..56bd0c43f6 100644 --- a/libavformat/srtdec.c +++ b/libavformat/srtdec.c @@ -78,7 +78,7 @@ static int get_event_info(const char *line, struct event_info *ei) ei->pts = AV_NOPTS_VALUE; ei->pos = -1; if (sscanf(line, "%d:%d:%d%*1[,.]%d --> %d:%d:%d%*1[,.]%d" - "%*[ ]X1:%u X2:%u Y1:%u Y2:%u", + "%*[ ]X1:%"PRId32" X2:%"PRId32" Y1:%"PRId32" Y2:%"PRId32, &hh1, &mm1, &ss1, &ms1, &hh2, &mm2, &ss2, &ms2, &ei->x1, &ei->x2, &ei->y1, &ei->y2) >= 8) { -- cgit v1.2.3