diff options
author | James Almer <jamrial@gmail.com> | 2013-04-10 04:52:08 -0300 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-10 09:56:48 +0200 |
commit | 89388a953a51abd61efeb1d10f621d2ce408e44e (patch) | |
tree | 6c6c6f82c0fe4e46ec89f970a9c85ebcc6085d2f /libavformat/mpeg.c | |
parent | 2383068cbfac11aedd2f133b2d00b0c1cb58b5f9 (diff) | |
download | ffmpeg-89388a953a51abd61efeb1d10f621d2ce408e44e.tar.gz |
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.c | 2 |
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); |