ffmpeg.php: remove dead code

This commit is contained in:
Zankaria 2025-10-10 00:26:09 +02:00
parent 0ca1e3aab3
commit ff6082d8cc

View file

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