Fixes several warnings of the type libavcodec/srtdec.c:197:24: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 11 has type ‘int *’ [-Wformat=] --- libavcodec/srtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/srtdec.c b/libavcodec/srtdec.c index 3bee3c7..4c5f6e5 100644 --- a/libavcodec/srtdec.c +++ b/libavcodec/srtdec.c @@ -192,7 +192,7 @@ static const char *read_ts(const char *buf, int *ts_start, int *ts_end, for (i=0; i<2; i++) { /* try to read timestamps in either the first or second line */ int c = sscanf(buf, "%d:%2d:%2d%*1[,.]%3d --> %d:%2d:%2d%*1[,.]%3d" - "%*[ ]X1:%u X2:%u Y1:%u Y2:%u", + "%*[ ]X1:%d X2:%d Y1:%d Y2:%d", &hs, &ms, &ss, ts_start, &he, &me, &se, ts_end, x1, x2, y1, y2); buf += strcspn(buf, "\n") + 1; -- 2.1.4 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel