[MPlayer-dev-eng] [PATCH] AVI bitrate printed incorrectly

joerg at britannica.bec.de joerg at britannica.bec.de
Tue May 2 13:20:35 CEST 2006


On Tue, May 02, 2006 at 12:47:31PM +0200, Reimar Döffinger wrote:
> Hi,
> On Tue, May 02, 2006 at 12:29:46PM +0200, joerg at britannica.bec.de wrote:
> > On Mon, May 01, 2006 at 01:27:47PM -0400, Alan Curry wrote:
> > > What type to use for the printing of this debug message, since there is no
> > > PRI* macro directly corresponding to off_t, is a cosmetic issue.
> > 
> > The standard solution is to cast to intmax_t and use %jd.
> 
> So, have you tested under MinGW? I'm quite certain that the PRId64
> approach will be the only one working there.

No, I don't care about Windows. PRId64 is mostly fine as long as off_t
is casted to int64_t as well. I don't know how ancient the printf
implementation of MinGW is.

Joerg




More information about the MPlayer-dev-eng mailing list