diff --git a/cores/libretro-ffmpeg/video_buffer.c b/cores/libretro-ffmpeg/video_buffer.c index d58bfb755973..0f861e820f6b 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;