From 89388a953a51abd61efeb1d10f621d2ce408e44e Mon Sep 17 00:00:00 2001 From: James Almer Date: Wed, 10 Apr 2013 04:52:08 -0300 Subject: Replace all occurrences of PRI in sscanf() calls with SCN Signed-off-by: James Almer --- tools/seek_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/seek_print.c b/tools/seek_print.c index a99a0ad832..8eb7627b52 100644 --- a/tools/seek_print.c +++ b/tools/seek_print.c @@ -91,7 +91,7 @@ int main(int argc, char **argv) av_ts2str(packet.pts), av_ts2timestr(packet.pts, tb)); av_free_packet(&packet); } - } else if (sscanf(*argv, "seek:%i:%"PRIi64":%"PRIi64":%"PRIi64":%i", + } else if (sscanf(*argv, "seek:%i:%"SCNi64":%"SCNi64":%"SCNi64":%i", &stream, &min_ts, &ts, &max_ts, &flags) == 5) { ret = avformat_seek_file(avf, stream, min_ts, ts, max_ts, flags); printf("seek: %d (%s)\n", ret, av_err2str(ret)); -- cgit v1.2.3