From e1a3ac7fb2af13f4cbe125ac4d4869160704d4bf Mon Sep 17 00:00:00 2001 From: stefano Date: Sat, 16 Jan 2010 19:32:58 +0000 Subject: Prefer enum PixelFormat to int as the parameter type of fmt_depth(fmt). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30333 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswscale/swscale_internal.h') diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 5aae3b9c1e..65174fdd45 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -389,7 +389,7 @@ const char *sws_format_name(enum PixelFormat format); || (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: -- cgit v1.2.3