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
This commit is contained in:
stefano 2010-01-16 19:32:58 +00:00
parent ae2e7d7298
commit e1a3ac7fb2
1 changed files with 1 additions and 1 deletions

View File

@ -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: