Codebase list faad2 / 25fbe5d
fix some inconsistencies in the frontend output * No more division by zero in the real-time calculation. * Added a missing newline before the Samplerate line. Fabian Greffrath 3 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
13501350 float dec_length = (float)(clock() - begin)/(float)CLOCKS_PER_SEC;
13511351 #endif
13521352 faad_fprintf(stderr, "Decoding %s took: %5.2f sec. %5.2fx real-time.\n", aacFileName,
1353 dec_length, length/dec_length);
1353 dec_length, (dec_length > 0.01) ? (length/dec_length) : 0.);
13541354 }
13551355
13561356 if (aacFileName != NULL)
950950
951951 static void mp4info(void)
952952 {
953 fprintf(stderr, "Modification Time:\t\t%s", mp4time(mp4config.mtime));
953 fprintf(stderr, "Modification Time:\t\t%s\n", mp4time(mp4config.mtime));
954954 fprintf(stderr, "Samplerate:\t\t%d\n", mp4config.samplerate);
955955 fprintf(stderr, "Total samples:\t\t%d\n", mp4config.samples);
956956 fprintf(stderr, "Total channels:\t\t%d\n", mp4config.channels);