Code Duplication    Length = 3-3 lines in 2 locations

src/wp-includes/ID3/getid3.php 2 locations

@@ 512-514 (lines=3) @@
509
		// remove possible empty keys
510
		$AVpossibleEmptyKeys = array('dataformat', 'bits_per_sample', 'encoder_options', 'streams', 'bitrate');
511
		foreach ($AVpossibleEmptyKeys as $dummy => $key) {
512
			if (empty($this->info['audio'][$key]) && isset($this->info['audio'][$key])) {
513
				unset($this->info['audio'][$key]);
514
			}
515
			if (empty($this->info['video'][$key]) && isset($this->info['video'][$key])) {
516
				unset($this->info['video'][$key]);
517
			}
@@ 515-517 (lines=3) @@
512
			if (empty($this->info['audio'][$key]) && isset($this->info['audio'][$key])) {
513
				unset($this->info['audio'][$key]);
514
			}
515
			if (empty($this->info['video'][$key]) && isset($this->info['video'][$key])) {
516
				unset($this->info['video'][$key]);
517
			}
518
		}
519
520
		// remove empty root keys