mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
Try to retain backwards compat. with older ffmpeg versions
This commit is contained in:
parent
517c7b19f5
commit
76dadbc603
@ -68,6 +68,17 @@ extern "C" {
|
||||
#include "../../gfx/video_driver.h"
|
||||
#include "../../verbosity.h"
|
||||
|
||||
#ifndef AV_CODEC_FLAG_QSCALE
|
||||
#define AV_CODEC_FLAG_QSCALE CODEC_FLAG_QSCALE
|
||||
#endif
|
||||
|
||||
#ifndef AV_CODEC_FLAG_GLOBAL_HEADER
|
||||
#define AV_CODEC_FLAG_GLOBAL_HEADER CODEC_FLAG_GLOBAL_HEADER
|
||||
#endif
|
||||
|
||||
#ifndef AV_INPUT_BUFFER_MIN_SIZE
|
||||
#define AV_INPUT_BUFFER_MIN_SIZE FF_MIN_BUFFER_SIZE
|
||||
#endif
|
||||
|
||||
#ifndef PIX_FMT_RGB32
|
||||
#define PIX_FMT_RGB32 AV_PIX_FMT_RGB32
|
||||
|
Loading…
x
Reference in New Issue
Block a user