changeset 30291:6719a8bcc039

Prefer enum PixelFormat to int as the parameter type of fmt_depth(fmt).
author stefano
date Sat, 16 Jan 2010 19:32:58 +0000
parents af1d6d36850d
children 9086459837a0
files libswscale/swscale_internal.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale_internal.h	Sat Jan 16 19:22:30 2010 +0000
+++ b/libswscale/swscale_internal.h	Sat Jan 16 19:32:58 2010 +0000
@@ -389,7 +389,7 @@
         || (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: