encoding.hpp: define __STDC_FORMAT_MACROS, include cinttypes

This commit is contained in:
Sergey Fedorov 2024-01-04 00:26:23 +08:00
parent ec0f848030
commit 1978928bc6

View File

@ -3,6 +3,11 @@
#ifdef FFMPEG
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
#endif
#include <cinttypes>
extern "C" {
#include <libavutil/avassert.h>
#include <libavcodec/avcodec.h>