From 8826704061374e3c812d076808182b91e9ca02d3 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 27 Aug 2007 09:47:17 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24222 b3059339-0415-0410-9bf9-f77b7e298cf2 --- TOOLS/movinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TOOLS/movinfo.c b/TOOLS/movinfo.c index efc7934962..a1134344b0 100644 --- a/TOOLS/movinfo.c +++ b/TOOLS/movinfo.c @@ -63,7 +63,7 @@ unsigned int read_dword(FILE *f){ 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 @@ void *video_stream_info(FILE *f, int len) 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 @@ void *audio_stream_info(FILE *f, int len) 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;