- if ((shuff = shuff_init_decoder(argv[optind],"tmp.comp")) == NULL) return 1;
- shuff_decode_file(shuff);
- shuff_deinit_decoder(shuff);
- free(shuff);
-
- fp_in = fopen("tmp.comp", "rb");
+ /* Inicializo el descompresor */
+ if ((shuff = shuff_init_decoder(argv[optind],NULL)) == NULL) return 1;
+
+ /* Abrimos el archivo de salida */