From b815848501840cb5d65b020d2c017c5bd9e4f344 Mon Sep 17 00:00:00 2001
From: Eric Warmenhoven <eric@warmenhoven.org>
Date: Sat, 10 Aug 2024 20:56:15 -0400
Subject: [PATCH] Optionally compile ffmpeg in griffin build (#16864)

---
 griffin/griffin.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/griffin/griffin.c b/griffin/griffin.c
index e94db43fa4..bc0af37006 100644
--- a/griffin/griffin.c
+++ b/griffin/griffin.c
@@ -1639,6 +1639,16 @@ ANDROID PLAY FEATURE DELIVERY
 #include "../play_feature_delivery/play_feature_delivery.c"
 #endif
 
+
+/*============================================================
+FFMPEG
+============================================================ */
+#ifdef HAVE_FFMPEG
+#include "../cores/libretro-ffmpeg/packet_buffer.c"
+#include "../cores/libretro-ffmpeg/video_buffer.c"
+#include "../libretro-common/rthreads/tpool.c"
+#endif
+
 /*============================================================
 STEAM INTEGRATION USING MIST
 ============================================================ */