Revision: | 84 |
Committed: | Fri Aug 16 16:45:29 2002 UTC (22 years, 8 months ago) by mmeineke |
Content type: | text/plain |
File size: | 277 byte(s) |
Log Message: | added a utility to output what time of each frame |
# | User | Rev | Content |
---|---|---|---|
1 | mmeineke | 84 | #include <stdlib.h> |
2 | #include <stdio.h> | ||
3 | |||
4 | #include "frameCount.h" | ||
5 | |||
6 | int main(int argc, char *argv[] ){ | ||
7 | |||
8 | if( argc != 2 ){ | ||
9 | printf( "I need a dump file to read.\n" ); | ||
10 | exit(8); | ||
11 | } | ||
12 | |||
13 | printf( "# file \"%s\" has %d frames.\n", argv[1], | ||
14 | frameCount( argv[1], 1 ) ); | ||
15 | |||
16 | return 0; | ||
17 | } |