[FFmpeg-devel] [PATCH] Remove printf format string errors in windows builds

Jean-Baptiste Kempf jb
Mon Jan 24 00:05:18 CET 2011


On Sun, Jan 23, 2011 at 02:58:23PM -0800, Larry Robinson wrote :
> Both Mingw32 and Mingw64 rely on msvcrt.dll to interpret format strings
> for printf, sscanf, etc. and so gcc doesn't recognize `t' or `z' width
> specifications for 64-bit types on windows. It therefore produces warnings
> and incorrect code for format strings containing `%td', `%zd', ...

Are you sure you shouldn't just use -D__USE_MINGW_ANSI_STDIO=1

Best Regards,

Jean-Baptiste Kempf
+33 672 704 734

More information about the ffmpeg-devel mailing list