summaryrefslogtreecommitdiff
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2013-04-10 04:52:08 -0300
committerClément Bœsch <ubitux@gmail.com>2013-04-10 09:56:48 +0200
commit89388a953a51abd61efeb1d10f621d2ce408e44e (patch)
tree6c6c6f82c0fe4e46ec89f970a9c85ebcc6085d2f /libavformat/mpeg.c
parent2383068cbfac11aedd2f133b2d00b0c1cb58b5f9 (diff)
Replace all occurrences of PRI in sscanf() calls with SCN
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r--libavformat/mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 7d4785b59a..8f835ad056 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -735,7 +735,7 @@ static int vobsub_read_header(AVFormatContext *s)
int64_t pos, timestamp;
const char *p = line + 10;
- if (sscanf(p, "%02d:%02d:%02d:%03d, filepos: %"PRIx64,
+ if (sscanf(p, "%02d:%02d:%02d:%03d, filepos: %"SCNx64,
&hh, &mm, &ss, &ms, &pos) != 5) {
av_log(s, AV_LOG_ERROR, "Unable to parse timestamp line '%s', "
"abort parsing\n", line);