[FFmpeg-cvslog] r30333 - trunk/libswscale/swscale_internal.h

stefano subversion
Sat Jan 16 20:32:58 CET 2010


Author: stefano
Date: Sat Jan 16 20:32:58 2010
New Revision: 30333

Log:
Prefer enum PixelFormat to int as the parameter type of
fmt_depth(fmt).

Modified:
   trunk/libswscale/swscale_internal.h

Modified: trunk/libswscale/swscale_internal.h
==============================================================================
--- trunk/libswscale/swscale_internal.h	Sat Jan 16 20:22:30 2010	(r30332)
+++ trunk/libswscale/swscale_internal.h	Sat Jan 16 20:32:58 2010	(r30333)
@@ -389,7 +389,7 @@ const char *sws_format_name(enum PixelFo
         || (x)==PIX_FMT_YUVA420P    \
     )
 
-static inline int fmt_depth(int fmt)
+static inline int fmt_depth(enum PixelFormat fmt)
 {
     switch(fmt) {
     case PIX_FMT_RGB48BE:



More information about the ffmpeg-cvslog mailing list