Replace all occurrences of PRI in sscanf() calls with SCN

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2013-04-10 04:52:08 -03:00
committed by Clément Bœsch
parent 2383068cbf
commit 89388a953a
7 changed files with 11 additions and 11 deletions

View File

@@ -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);