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:
parent
ae2e7d7298
commit
e1a3ac7fb2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user