diff options
author | James Almer <jamrial@gmail.com> | 2013-04-10 11:52:08 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-10 11:56:48 +0400 |
commit | 89388a953a51abd61efeb1d10f621d2ce408e44e (patch) | |
tree | 6c6c6f82c0fe4e46ec89f970a9c85ebcc6085d2f /tools | |
parent | 2383068cbfac11aedd2f133b2d00b0c1cb58b5f9 (diff) |
Replace all occurrences of PRI in sscanf() calls with SCN
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/seek_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |