mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 12:40:19 +00:00
Libavcodec compatibility fix (ffmpeg 54.x.y)
This commit is contained in:
committed by
Martin Pulec
parent
9f7fedf73f
commit
935647e9f6
@@ -11,8 +11,9 @@
|
||||
#include <libavutil/imgutils.h>
|
||||
#include <libavutil/mem.h>
|
||||
#include <libavutil/opt.h>
|
||||
#include <libavutil/pixfmt.h>
|
||||
|
||||
#ifndef HAVE_AVCODEC_ENCODE_VIDEO2
|
||||
#if !defined(HAVE_AVCODEC_ENCODE_VIDEO2) || (LIBAVCODEC_VERSION_MAJOR < 55)
|
||||
#define AV_PIX_FMT_NONE PIX_FMT_NONE
|
||||
#define AV_PIX_FMT_YUV420P PIX_FMT_YUV420P
|
||||
#define AV_PIX_FMT_YUV422P PIX_FMT_YUV422P
|
||||
|
||||
Reference in New Issue
Block a user