On Mon, Feb 27, 2012 at 7:07 PM, Diego Biurrun <[email protected]> wrote: > libavformat/rmdec.c:383: warning: format ‘%d’ expects type ‘int’, but > argument 7 has type ‘int64_t’ > --- > libavformat/rmdec.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c > index 6775294..80513f5 100644 > --- a/libavformat/rmdec.c > +++ b/libavformat/rmdec.c > @@ -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" = %zd)\n",
Shouldn't the %zd be PRId64 as well? > str_id, avio_size(pb), avio_tell(pb), > (avio_size(pb) - avio_tell(pb)) / 14); > goto skip; > -- > 1.7.1 > _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
