From 31a7f2b4d923639dca8a20393183a7d8cd71243c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 24 Dec 2019 02:17:48 +0100 Subject: [PATCH] Add missing ifdef --- cores/libretro-ffmpeg/video_buffer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cores/libretro-ffmpeg/video_buffer.c b/cores/libretro-ffmpeg/video_buffer.c index d58bfb7559..0f861e820f 100644 --- a/cores/libretro-ffmpeg/video_buffer.c +++ b/cores/libretro-ffmpeg/video_buffer.c @@ -70,7 +70,9 @@ video_buffer_t *video_buffer_create(size_t num, int frame_size, int width, int h if (!b->buffer[i].sws || !b->buffer[i].source || +#if LIBAVUTIL_VERSION_MAJOR > 55 !b->buffer[i].hw_source || +#endif !b->buffer[i].target || !b->buffer[i].frame_buf) goto fail;