Fix for ffmpeg 4.4 by inj

This commit is contained in:
jojo61 2022-01-14 10:31:55 +01:00
parent ce71019f44
commit 5c6514929d
1 changed files with 3 additions and 3 deletions

View File

@ -139,7 +139,7 @@ typedef enum {
#include <GL/freeglut_ext.h>
// clang-format on
#endif
#include <libavcodec/avcodec.h>
#include <libavutil/hwcontext.h>
#include <libavutil/mastering_display_metadata.h>
#include <libavutil/pixdesc.h>
@ -155,8 +155,9 @@ typedef enum {
#endif
#ifdef VAAPI
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(57,74,100)
#include <libavcodec/vaapi.h>
#endif
#include <libdrm/drm_fourcc.h>
#include <va/va_drmcommon.h>
#ifdef RASPI
@ -196,7 +197,6 @@ typedef void *EGLImageKHR;
#include <libplacebo/renderer.h>
#endif
#include <libavcodec/avcodec.h>
#include <libswscale/swscale.h>
#if defined(YADIF) || defined(VAAPI)