mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
Use PRIu32/PRIX32 format specifiers instead of %d/%u/%X for uint32_t variables in av_log calls. On some platforms (e.g. NuttX), uint32_t is typedef'd as unsigned long rather than unsigned int, which triggers -Wformat warnings despite both types being 4 bytes. Using PRI macros is the portable way to match the actual underlying type of uint32_t. Signed-off-by: zengshuang <zengshuang@xiaomi.com>
33 KiB
33 KiB