Fix build with ffmpeg 5.0
This commit is contained in:
@@ -22,7 +22,8 @@ extern "C" {
|
||||
#include <libavutil/version.h>
|
||||
} // extern "C"
|
||||
|
||||
#define DA_FFMPEG_NEW_CHANNEL_LAYOUT (LIBAVUTIL_VERSION_MAJOR >= 57)
|
||||
#define DA_FFMPEG_NEW_CHANNEL_LAYOUT (LIBAVUTIL_VERSION_MAJOR > 57 \
|
||||
|| (LIBAVUTIL_VERSION_MAJOR == 57 && LIBAVUTIL_VERSION_MINOR >= 28))
|
||||
|
||||
class QImage;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user