forked from leftypol/leftypol
ffmpeg.php: remove dead code
This commit is contained in:
parent
0ca1e3aab3
commit
ff6082d8cc
1 changed files with 0 additions and 7 deletions
|
|
@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue