Code Duplication    Length = 5-5 lines in 2 locations

src/wp-includes/ID3/module.audio-video.riff.php 2 locations

@@ 1049-1053 (lines=5) @@
1046
				}
1047
1048
				$CommentsChunkNames = array('NAME'=>'title', 'author'=>'artist', '(c) '=>'copyright', 'ANNO'=>'comment');
1049
				foreach ($CommentsChunkNames as $key => $value) {
1050
					if (isset($thisfile_riff[$RIFFsubtype][$key][0]['data'])) {
1051
						$thisfile_riff['comments'][$value][] = $thisfile_riff[$RIFFsubtype][$key][0]['data'];
1052
					}
1053
				}
1054
/*
1055
				if (isset($thisfile_riff[$RIFFsubtype]['ID3 '])) {
1056
					getid3_lib::IncludeDependency(GETID3_INCLUDEPATH.'module.tag.id3v2.php', __FILE__, true);
@@ 1140-1144 (lines=5) @@
1137
				}
1138
1139
				$CommentsChunkNames = array('NAME'=>'title', 'author'=>'artist', '(c) '=>'copyright', 'ANNO'=>'comment');
1140
				foreach ($CommentsChunkNames as $key => $value) {
1141
					if (isset($thisfile_riff[$RIFFsubtype][$key][0]['data'])) {
1142
						$thisfile_riff['comments'][$value][] = $thisfile_riff[$RIFFsubtype][$key][0]['data'];
1143
					}
1144
				}
1145
1146
				$thisfile_audio['bitrate'] = $thisfile_audio['sample_rate'] * $ActualBitsPerSample * $thisfile_audio['channels'];
1147
				if (!empty($thisfile_audio['bitrate'])) {