mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-31 16:52:45 +00:00
Check for old libavutil version.
This commit is contained in:
parent
0efbe496a3
commit
913f5b4561
@ -55,6 +55,11 @@ extern "C" {
|
||||
#include "../config.h"
|
||||
#endif
|
||||
|
||||
#if LIBAVUTIL_VERSION_INT <= AV_VERSION_INT(52, 9, 0)
|
||||
#define av_frame_alloc avcodec_alloc_frame
|
||||
#define av_frame_free avcodec_free_frame
|
||||
#endif
|
||||
|
||||
struct ff_video_info
|
||||
{
|
||||
AVCodecContext *codec;
|
||||
|
Loading…
x
Reference in New Issue
Block a user