Code Duplication    Length = 3-3 lines in 2 locations

3rdparty/getID3/getid3/getid3.php 2 locations

@@ 1483-1485 (lines=3) @@
1480
			}
1481
		}
1482
1483
		if ((!isset($this->info['playtime_seconds']) || ($this->info['playtime_seconds'] <= 0)) && !empty($this->info['bitrate'])) {
1484
			$this->info['playtime_seconds'] = (($this->info['avdataend'] - $this->info['avdataoffset']) * 8) / $this->info['bitrate'];
1485
		}
1486
1487
		if (!isset($this->info['bitrate']) && !empty($this->info['playtime_seconds'])) {
1488
			$this->info['bitrate'] = (($this->info['avdataend'] - $this->info['avdataoffset']) * 8) / $this->info['playtime_seconds'];
@@ 1487-1489 (lines=3) @@
1484
			$this->info['playtime_seconds'] = (($this->info['avdataend'] - $this->info['avdataoffset']) * 8) / $this->info['bitrate'];
1485
		}
1486
1487
		if (!isset($this->info['bitrate']) && !empty($this->info['playtime_seconds'])) {
1488
			$this->info['bitrate'] = (($this->info['avdataend'] - $this->info['avdataoffset']) * 8) / $this->info['playtime_seconds'];
1489
		}
1490
		if (isset($this->info['bitrate']) && empty($this->info['audio']['bitrate']) && empty($this->info['video']['bitrate'])) {
1491
			if (isset($this->info['audio']['dataformat']) && empty($this->info['video']['resolution_x'])) {
1492
				// audio only