[FFmpeg-devel] PRIx64 and msvc

Hendrik Leppkes h.leppkes at gmail.com
Wed Mar 8 18:10:46 EET 2023


On Wed, Mar 8, 2023 at 4:02 PM <info at gardinal.net> wrote:
>
> 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?

You'll have to provide more information. We have automated builds with
MSVC which are running just fine right now.

- Hendrik


More information about the ffmpeg-devel mailing list