Browse Source

rmdec: adjust printf format string specifier to fix warning

libavformat/rmdec.c:383: warning: format ‘%d’ expects type ‘int’, but argument 7 has type ‘int64_t’
tags/n0.11
Diego Biurrun 14 years ago
parent
commit
75c553eb26
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rmdec.c

+ 1
- 1
libavformat/rmdec.c View File

@@ -378,7 +378,7 @@ static int rm_read_index(AVFormatContext *s)
} else if ((avio_size(pb) - avio_tell(pb)) / 14 < n_pkts) {
av_log(s, AV_LOG_ERROR,
"Nr. of packets in packet index for stream index %d "
"exceeds filesize (%"PRId64" at %"PRId64" = %d)\n",
"exceeds filesize (%"PRId64" at %"PRId64" = %"PRId64")\n",
str_id, avio_size(pb), avio_tell(pb),
(avio_size(pb) - avio_tell(pb)) / 14);
goto skip;


Loading…
Cancel
Save