[x264-devel] Re: x264: svn commit r100 (pengvado)
Måns Rullgård
mru at inprovide.com
Mon Jan 17 10:56:27 CET 2005
Laurent Aimar <fenrir at via.ecp.fr> writes:
> On Sat, Jan 15, 2005, Subversion daemon wrote:
>> r100 | pengvado | 2005-01-15 12:28:44 +0100 (Sat, 15 Jan 2005) | 3 lines
>> Changed paths:
>> M /trunk/encoder/encoder.c
>>
>> Use floats instead of int64 in log messages, since win32 (incl. mingw) doesn't understand %lld.
> Yep, to display int64 you need %I64d undef win32 (instead of %lld).
> For vlc we use:
>
> /* Format type specifiers for 64 bits numbers */
> #if !defined(WIN32) && !defined(UNDER_CE)
> # define I64Fd "%lld"
> # define I64Fi "%lli"
> # define I64Fo "%llo"
> # define I64Fu "%llu"
> # define I64Fx "%llx"
> # define I64FX "%llX"
> #else
> # define I64Fd "%I64d"
> # define I64Fi "%I64i"
> # define I64Fo "%I64o"
> # define I64Fu "%I64u"
> # define I64Fx "%I64x"
> # define I64FX "%I64X"
> #endif /* defined(WIN32)||defined(UNDER_CE) */
C99 also specifies similar macros, but I guess that's not supported either.
--
Måns Rullgård
mru at inprovide.com
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list