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]; - } } }