diff options
author | stefano <stefano@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-16 19:32:58 +0000 |
---|---|---|
committer | stefano <stefano@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-16 19:32:58 +0000 |
commit | e1a3ac7fb2af13f4cbe125ac4d4869160704d4bf (patch) | |
tree | 544b7a1d2820dd88feacdbc5b12ad0aae2809d1c | |
parent | ae2e7d7298f205182043d5aaccc02f8583dd6230 (diff) | |
download | mpv-e1a3ac7fb2af13f4cbe125ac4d4869160704d4bf.tar.bz2 mpv-e1a3ac7fb2af13f4cbe125ac4d4869160704d4bf.tar.xz |
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
-rw-r--r-- | libswscale/swscale_internal.h | 2 |
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: |