diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/export/extract_version_2.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/export/extract_version_2.c b/src/export/extract_version_2.c index 4fb9aa2..ac082ca 100644 --- a/src/export/extract_version_2.c +++ b/src/export/extract_version_2.c | |||
@@ -334,8 +334,6 @@ static void decompress_subchunk( uint8_t * subchunk, size_t subchunk_size, int c | |||
334 | s.in = subchunk; | 334 | s.in = subchunk; |
335 | s.left = subchunk_size; | 335 | s.left = subchunk_size; |
336 | while( chunks-- ) { | 336 | while( chunks-- ) { |
337 | int i; | ||
338 | |||
339 | /* (Re-)initialize output state */ | 337 | /* (Re-)initialize output state */ |
340 | s.out = output; | 338 | s.out = output; |
341 | s.next = 0; | 339 | s.next = 0; |
@@ -344,11 +342,8 @@ static void decompress_subchunk( uint8_t * subchunk, size_t subchunk_size, int c | |||
344 | s.bitcnt = 0; | 342 | s.bitcnt = 0; |
345 | 343 | ||
346 | err = decomp(&s); | 344 | err = decomp(&s); |
347 | if( err ) { | 345 | if( err ) |
348 | // for( i=0; i<32; ++i ) fprintf( stderr, "%02X ", s.in[i] ); | ||
349 | // fprintf( stderr, "\nError: %d (%d chunks left at %08x)\n", err, chunks, (unsigned int)(subchunk) ); | ||
350 | return; | 346 | return; |
351 | } | ||
352 | 347 | ||
353 | /* Dump to stdout for now */ | 348 | /* Dump to stdout for now */ |
354 | fwrite( output, outchunk_size, 1, stdout ); | 349 | fwrite( output, outchunk_size, 1, stdout ); |