From ac2a6ea93f9fc5677bb9cfec0587f5e37fe22267 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Wed, 6 Apr 2022 23:13:45 +0300
Subject: [PATCH 2/3] filegif conditional in formatpopup.C

---
 cinelerra-5.1/cinelerra/formatpopup.C | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cinelerra-5.1/cinelerra/formatpopup.C b/cinelerra-5.1/cinelerra/formatpopup.C
index dc1e9515..90f6599a 100644
--- a/cinelerra-5.1/cinelerra/formatpopup.C
+++ b/cinelerra-5.1/cinelerra/formatpopup.C
@@ -61,8 +61,10 @@ void FormatPopup::create_objects()
 
 
 	if(!use_brender) {
+#ifdef HAVE_GIFLIB
 		post_item(FILE_GIF);
 		post_item(FILE_GIF_LIST);
+#endif
 #ifdef HAVE_OPENEXR
 		post_item(FILE_EXR);
 		post_item(FILE_EXR_LIST);
-- 
2.35.1

