From f7813a5324be39d13ab536c245d15dfc602a7849 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 29 Dec 2013 12:19:38 +0000 Subject: basic type mechanism working --- ffmpeg/libavformat/aqtitledec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ffmpeg/libavformat/aqtitledec.c') diff --git a/ffmpeg/libavformat/aqtitledec.c b/ffmpeg/libavformat/aqtitledec.c index 325946c..810f95b 100644 --- a/ffmpeg/libavformat/aqtitledec.c +++ b/ffmpeg/libavformat/aqtitledec.c @@ -43,7 +43,7 @@ static int aqt_probe(AVProbeData *p) const char *ptr = p->buf; if (sscanf(ptr, "-->> %d", &frame) == 1) - return AVPROBE_SCORE_MAX / 2; + return AVPROBE_SCORE_EXTENSION; return 0; } @@ -70,7 +70,7 @@ static int aqt_read_header(AVFormatContext *s) line[strcspn(line, "\r\n")] = 0; - if (sscanf(line, "-->> %"PRId64, &frame) == 1) { + if (sscanf(line, "-->> %"SCNd64, &frame) == 1) { new_event = 1; pos = avio_tell(s->pb); if (sub) { -- cgit v1.2.3