[FFmpeg-devel] PRIx64 and msvc

2023-03-08 Thread info
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 introd

Re: [FFmpeg-devel] PRIx64 and msvc

2023-03-08 Thread info
Le 2023-03-08 09:10, Hendrik Leppkes a écrit : On Wed, Mar 8, 2023 at 4:02 PM 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, siz

Re: [FFmpeg-devel] PRIx64 and msvc

2023-03-08 Thread info
Le 2023-03-08 09:38, Hendrik Leppkes a écrit : On Wed, Mar 8, 2023 at 5:34 PM wrote: Le 2023-03-08 09:10, Hendrik Leppkes a écrit : > On Wed, Mar 8, 2023 at 4:02 PM wrote: >> >> I'm compiling with msvc and get some errors with PRIx64 and similars. >> For example: >> snprintf(name, sizeof(name