(Windows) Fixed a MinGW compiler error.

This commit is contained in:
Leon Styhre 2021-08-18 18:52:41 +02:00
parent b6b431f0fd
commit 91339bf1fa

View file

@ -6,6 +6,8 @@
// Video player based on FFmpeg. // Video player based on FFmpeg.
// //
#define DEBUG_VIDEO false
#include "components/VideoFFmpegComponent.h" #include "components/VideoFFmpegComponent.h"
#include "AudioManager.h" #include "AudioManager.h"
@ -13,7 +15,7 @@
#include "Window.h" #include "Window.h"
#include "resources/TextureResource.h" #include "resources/TextureResource.h"
#define DEBUG_VIDEO false #include <algorithm>
enum AVHWDeviceType VideoFFmpegComponent::sDeviceType = AV_HWDEVICE_TYPE_NONE; enum AVHWDeviceType VideoFFmpegComponent::sDeviceType = AV_HWDEVICE_TYPE_NONE;
enum AVPixelFormat VideoFFmpegComponent::sPixelFormat = AV_PIX_FMT_NONE; enum AVPixelFormat VideoFFmpegComponent::sPixelFormat = AV_PIX_FMT_NONE;