[Ffmpeg-cvslog] r6593 - trunk/libavcodec/opt.c

rathann subversion
Sun Oct 8 23:25:22 CEST 2006


Author: rathann
Date: Sun Oct  8 23:25:22 2006
New Revision: 6593

Modified:
   trunk/libavcodec/opt.c

Log:
Fixes:
opt.c:327: warning: no return statement in function returning non-void

opt_list return value is never checked.

Approved by Michael.



Modified: trunk/libavcodec/opt.c
==============================================================================
--- trunk/libavcodec/opt.c	(original)
+++ trunk/libavcodec/opt.c	Sun Oct  8 23:25:22 2006
@@ -260,7 +260,7 @@
     return num*intnum/den;
 }
 
-static int opt_list(void *obj, void *av_log_obj, char *unit)
+static void opt_list(void *obj, void *av_log_obj, char *unit)
 {
     AVOption *opt=NULL;
 




More information about the ffmpeg-cvslog mailing list