diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-24 07:41:03 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-24 08:06:39 -0400 |
commit | cd256c3b89c14651b9ff75d9235f2c146fa48aba (patch) | |
tree | 40e6ab28eb563835b6609152a6c6445ae3201581 /libavformat/ffmetadec.c | |
parent | da21225ae2d1803450b054db0e5ae13064f6fbbe (diff) | |
download | ffmpeg-cd256c3b89c14651b9ff75d9235f2c146fa48aba.tar.gz |
ffmetadec.c: fix compiler warnings.
Diffstat (limited to 'libavformat/ffmetadec.c')
-rw-r--r-- | libavformat/ffmetadec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/ffmetadec.c b/libavformat/ffmetadec.c index a6cc858ab2..6915b60552 100644 --- a/libavformat/ffmetadec.c +++ b/libavformat/ffmetadec.c @@ -61,14 +61,14 @@ static AVChapter *read_chapter(AVFormatContext *s) if (sscanf(line, "TIMEBASE=%d/%d", &tb.num, &tb.den)) get_line(s->pb, line, sizeof(line)); - if (!sscanf(line, "START=%lld", &start)) { + if (!sscanf(line, "START=%"SCNd64, &start)) { av_log(s, AV_LOG_ERROR, "Expected chapter start timestamp, found %s.\n", line); start = (s->nb_chapters && s->chapters[s->nb_chapters - 1]->end != AV_NOPTS_VALUE) ? s->chapters[s->nb_chapters - 1]->end : 0; } else get_line(s->pb, line, sizeof(line)); - if (!sscanf(line, "END=%lld", &end)) { + if (!sscanf(line, "END=%"SCNd64, &end)) { av_log(s, AV_LOG_ERROR, "Expected chapter end timestamp, found %s.\n", line); end = AV_NOPTS_VALUE; } |