Code Duplication    Length = 4-7 lines in 2 locations

includes/media/DjVuImage.php 2 locations

@@ 111-117 (lines=7) @@
108
109
			if ( $chunk == 'FORM' ) {
110
				$this->dumpForm( $file, $chunkLength, $indent + 1 );
111
			} else {
112
				fseek( $file, $chunkLength, SEEK_CUR );
113
				if ( $chunkLength & 1 == 1 ) {
114
					// Padding byte between chunks
115
					fseek( $file, 1, SEEK_CUR );
116
				}
117
			}
118
		}
119
	}
120
@@ 171-174 (lines=4) @@
168
	private function skipChunk( $file, $chunkLength ) {
169
		fseek( $file, $chunkLength, SEEK_CUR );
170
171
		if ( $chunkLength & 0x01 == 1 && !feof( $file ) ) {
172
			// padding byte
173
			fseek( $file, 1, SEEK_CUR );
174
		}
175
	}
176
177
	private function getMultiPageInfo( $file, $formLength ) {