From 38341cb366702a44a655239e6ff163a38ca4e9a5 Mon Sep 17 00:00:00 2001
From: Mattias Andrée <m@maandree.se>
Date: Sun, 12 Jan 2025 11:08:53 +0100
Subject: ffextract-audio: Fix recusion support
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mattias Andrée <m@maandree.se>
---
 ffextract-audio | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffextract-audio b/ffextract-audio
index 24ca2c1..f72425f 100755
--- a/ffextract-audio
+++ b/ffextract-audio
@@ -73,7 +73,7 @@ fi
 recursive () {
 	for in_file in "${1}/"*; do
 		out_file="$2/$(basename -- "${in_file}")"
-		if test -d "$f"; then
+		if test -d "${in_file}"; then
 			mkdir -p -- "${out_file}"
 			recursive "${in_file}" "${out_file}"
 		else
-- 
cgit v1.2.3-70-g09d2