From 1978928bc60a56e2999cdb952f8a4af1aacf998a Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Thu, 4 Jan 2024 00:26:23 +0800 Subject: [PATCH] encoding.hpp: define __STDC_FORMAT_MACROS, include cinttypes --- ng/encoding.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ng/encoding.hpp b/ng/encoding.hpp index 9ea2ffb5..36bfabae 100644 --- a/ng/encoding.hpp +++ b/ng/encoding.hpp @@ -3,6 +3,11 @@ #ifdef FFMPEG +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif +#include + extern "C" { #include #include