1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-12 01:46:16 +00:00

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

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: