ref: 46776d3c57785f8646e1f37a105315251f1cf76c
parent: 8d45c274c57be2acd0d21da9bffe48e1cddd0e0c
author: thebard <thebard>
date: Tue Feb 22 11:23:58 EST 2000
Changes the ending return to an exit so we can profile.
--- a/faac.c
+++ b/faac.c
@@ -304,10 +304,7 @@
printf("Encoding %s took:\t%d:%.2d\t\n", InFileNames[i], nMins, nSecs);
#else
totalSecs = (float)(clock())/(float)CLOCKS_PER_SEC;
- printf("Encoding %s took: %5.2f sec.\n", InFileNames[i],
- (float)(clock())/(float)CLOCKS_PER_SEC);
mins = totalSecs/60;
- printf("Blah: %i\n", mins);
printf("Encoding %s took: %i min, %.2f sec.\n", InFileNames[i],
mins, totalSecs - (60 * mins));
#endif
@@ -315,7 +312,7 @@
if(OutFileNames[i]) free(OutFileNames[i]);
}
if (as) free (as);
- return FNO_ERROR;
+ exit(FNO_ERROR);
}
#endif // end of not dll