}
ret = compute_afhi(conf.inputs[i], audio_file_data, audio_file_size,
fd, &afhi);
- if (ret < 0)
- goto out;
-
- audio_format_num = ret;
- printf("File %d: %s\n", i + 1, conf.inputs[i]);
- print_info(audio_format_num, &afhi);
- if (conf.chunk_table_given)
- print_chunk_table(&afhi);
- printf("\n");
- clear_afhi(&afhi);
+ if (ret >= 0) {
+ audio_format_num = ret;
+ printf("File %d: %s\n", i + 1, conf.inputs[i]);
+ print_info(audio_format_num, &afhi);
+ if (conf.chunk_table_given)
+ print_chunk_table(&afhi);
+ printf("\n");
+ clear_afhi(&afhi);
+ }
ret2 = para_munmap(audio_file_data, audio_file_size);
if (ret2 < 0 && ret >= 0)
ret = ret2;