From 6434cfdeaecf58f13959e1da0d5b37c681187928 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Mon, 26 Jul 2021 20:21:44 +0300
Subject: [PATCH 61/61] fix typos in libdv ifdefs in livevideo

---
 cinelerra-5.1/plugins/livevideo/livevideo.C | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/cinelerra-5.1/plugins/livevideo/livevideo.C b/cinelerra-5.1/plugins/livevideo/livevideo.C
index c30034ab64001fc8c81e1a043aff88e00ad4730e..f9304a9d1584ec6bd05efeab9f564e5b98f821e9 100644
--- a/cinelerra-5.1/plugins/livevideo/livevideo.C
+++ b/cinelerra-5.1/plugins/livevideo/livevideo.C
@@ -152,7 +152,7 @@ public:
 	int prev_channel;
 	int w, h;
 // Decompressors for different video drivers
-#if HAVE_DV
+#if HAVE_LIBDV
 	dv_t *dv;
 #endif
 	mjpeg_t *mjpeg;
@@ -354,7 +354,7 @@ LiveVideo::LiveVideo(PluginServer *server)
 	w = xS(320);
 	h = yS(640);
 	prev_channel = 0;
-#if HAVE_DV
+#if HAVE_LIBDV
 	dv = 0;
 #endif
 	mjpeg = 0;
@@ -376,7 +376,7 @@ LiveVideo::~LiveVideo()
 
 	delete channeldb;
 	delete temp;
-#if HAVE_DV
+#if HAVE_LIBDV
 	if(dv) dv_delete(dv);
 #endif
 	if(mjpeg) mjpeg_delete(mjpeg);
@@ -507,7 +507,7 @@ int LiveVideo::process_buffer(VFrame *frame,
 			{
 				switch(session->vconfig_in->driver)
 				{
-#if HAVE_DV
+#if HAVE_LIBDV
 					case CAPTURE_FIREWIRE:
 					case CAPTURE_IEC61883:
 // Decompress a DV frame from the driver
@@ -648,8 +648,3 @@ void LiveVideo::update_gui()
 		}
 	}
 }
-
-
-
-
-
-- 
2.32.0

