Code Duplication    Length = 5-5 lines in 2 locations

3rdparty/getID3/getid3/module.audio-video.quicktime.php 1 location

@@ 1229-1233 (lines=5) @@
1226
				case 'chap': // CHAPter list atom
1227
				case 'sync': // SYNChronization atom
1228
				case 'scpt': // tranSCriPT atom
1229
				case 'ssrc': // non-primary SouRCe atom
1230
					for ($i = 0; $i < strlen($atom_data); $i += 4) {
1231
						@$atom_structure['track_id'][] = getid3_lib::BigEndian2Int(substr($atom_data, $i, 4));
1232
					}
1233
					break;
1234
1235
1236
				case 'elst': // Edit LiST atom

3rdparty/getID3/getid3/module.graphic.png.php 1 location

@@ 144-148 (lines=5) @@
141
							$thisfile_png_chunk_type_text['transparent_color_blue']  = getid3_lib::BigEndian2Int(substr($chunk['data'], 4, 2));
142
							break;
143
144
						case 3:
145
							for ($i = 0; $i < strlen($chunk['data']); $i++) {
146
								$thisfile_png_chunk_type_text['palette_opacity'][$i] = getid3_lib::BigEndian2Int(substr($chunk['data'], $i, 1));
147
							}
148
							break;
149
150
						case 4:
151
						case 6: