Update Windows and macOS to FFmpeg 5.0

This commit is contained in:
Cameron Gutman
2022-01-21 23:09:43 -06:00
parent ee5918cf4e
commit a58649fd10
5 changed files with 29 additions and 127 deletions
+7 -1
View File
@@ -29,8 +29,14 @@ private:
bool isDXVideoProcessorAPIBlacklisted();
void renderOverlay(Overlay::OverlayType type);
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(56, 68, 0)
#define FF_POOL_SIZE_TYPE size_t
#else
#define FF_POOL_SIZE_TYPE int
#endif
static
AVBufferRef* ffPoolAlloc(void* opaque, int size);
AVBufferRef* ffPoolAlloc(void* opaque, FF_POOL_SIZE_TYPE size);
static
void ffPoolDummyDelete(void*, uint8_t*);