[MPlayer-cvslog] r24222 - trunk/TOOLS/movinfo.c

diego subversion at mplayerhq.hu
Mon Aug 27 11:47:17 CEST 2007


Author: diego
Date: Mon Aug 27 11:47:17 2007
New Revision: 24222

Log:
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


Modified:
   trunk/TOOLS/movinfo.c

Modified: trunk/TOOLS/movinfo.c
==============================================================================
--- trunk/TOOLS/movinfo.c	(original)
+++ trunk/TOOLS/movinfo.c	Mon Aug 27 11:47:17 2007
@@ -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;



More information about the MPlayer-cvslog mailing list