From ff6082d8cc7a825b59ea3776506ebb976ce83d2f Mon Sep 17 00:00:00 2001 From: Zankaria Date: Fri, 10 Oct 2025 00:26:09 +0200 Subject: [PATCH] ffmpeg.php: remove dead code --- inc/lib/webm/ffmpeg.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/inc/lib/webm/ffmpeg.php b/inc/lib/webm/ffmpeg.php index 7eef972c..b4750862 100644 --- a/inc/lib/webm/ffmpeg.php +++ b/inc/lib/webm/ffmpeg.php @@ -31,7 +31,6 @@ function locate_webm_tracks($ffprobe_out) { $streamcount = count($streams); $video_at = []; $audio_at = []; - $others = []; for ($k = 0; $k < $streamcount; $k++) { $stream = $streams[$k]; @@ -41,12 +40,6 @@ function locate_webm_tracks($ffprobe_out) { $video_at[] = $k; } elseif ($codec_type === 'audio') { $audio_at[] = $k; - } else { - if (isset($others[$codec_type])) { - $others[$codec_type][] = $k; - } else { - $others[$codec_type] = [$k]; - } } }