[FFmpeg-devel] PRIx64 and msvc

info at gardinal.net info at gardinal.net
Wed Mar 8 17:01:55 EET 2023


I'm compiling with msvc and get some errors with PRIx64 and similars. 
For example:
snprintf(name, sizeof(name), "0x%"PRIx64, ch_layout);

won't compile, but this work (with the extra space):
snprintf(name, sizeof(name), "0x%" PRIx64, ch_layout);

Can this be included in the sources without introducing problems for 
other platforms?


More information about the ffmpeg-devel mailing list