# HG changeset patch # User diego # Date 1188208037 0 # Node ID bed2ed7f132c25a7d09851d692288f595187a854 # Parent 5b7bef9eebfafb046cf8ee5a73ef7ea7789631ad warning fixes: movinfo.c: In function 'video_stream_info': movinfo.c:80: warning: control reaches end of non-void function movinfo.c: In function 'audio_stream_info': movinfo.c:99: warning: control reaches end of non-void function movinfo.c: In function 'userdata_info': movinfo.c:152: warning: control reaches end of non-void function diff -r 5b7bef9eebfa -r bed2ed7f132c TOOLS/movinfo.c --- a/TOOLS/movinfo.c Mon Aug 27 09:12:35 2007 +0000 +++ b/TOOLS/movinfo.c Mon Aug 27 09:47:17 2007 +0000 @@ -63,7 +63,7 @@ return (atom_size_b[0]<<24)|(atom_size_b[1]<<16)|(atom_size_b[2]<<8)|atom_size_b[3]; } -void *video_stream_info(FILE *f, int len) +void video_stream_info(FILE *f, int len) { int orig_pos = ftell(f); unsigned char data[len-8]; @@ -79,7 +79,7 @@ fseek(f,orig_pos,SEEK_SET); } -void *audio_stream_info(FILE *f, int len) +void audio_stream_info(FILE *f, int len) { int orig_pos = ftell(f); unsigned char data[len-8]; @@ -98,7 +98,7 @@ fseek(f,orig_pos,SEEK_SET); } -void *userdata_info(FILE *f, int len, int pos, int level) +void userdata_info(FILE *f, int len, int pos, int level) { int orig_pos = pos; /*ftell(f);*/ unsigned int atom_size = 1;