summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-01-16 19:32:58 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-01-16 19:32:58 +0000
commit73cadb4f1315b570b13384e93960415ab143da98 (patch)
treecc12a7d6407d999270a7cadfe11665d4584209fd /libswscale/swscale_internal.h
parentbc45751f7ffcbe61d798cbea397e4b6dc3685af3 (diff)
Prefer enum PixelFormat to int as the parameter type of
fmt_depth(fmt). Originally committed as revision 30333 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h2
1 files changed, 1 insertions, 1 deletions
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: