mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
Replace all occurrences of PRI in sscanf() calls with SCN
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
committed by
Clément Bœsch
parent
2383068cbf
commit
89388a953a
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user