ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/frameCount/src/mainFrameCount.c
Revision: 84
Committed: Fri Aug 16 16:45:29 2002 UTC (21 years, 10 months ago) by mmeineke
Content type: text/plain
File size: 275 byte(s)
Log Message:
added a utility to output what time of each frame

File Contents

# User Rev Content
1 mmeineke 36 #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 mmeineke 84 printf( "file \"%s\" has %d frames.\n", argv[1],
14     frameCount( argv[1], 0 ) );
15 mmeineke 36
16     return 0;
17     }