Commit b2a924e5 authored by stefano's avatar stefano

Prefer enum PixelFormat to int as the parameter type of

fmt_depth(fmt).


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@30333 b3059339-0415-0410-9bf9-f77b7e298cf2
parent b0d5896e
...@@ -389,7 +389,7 @@ const char *sws_format_name(enum PixelFormat format); ...@@ -389,7 +389,7 @@ const char *sws_format_name(enum PixelFormat format);
|| (x)==PIX_FMT_YUVA420P \ || (x)==PIX_FMT_YUVA420P \
) )
static inline int fmt_depth(int fmt) static inline int fmt_depth(enum PixelFormat fmt)
{ {
switch(fmt) { switch(fmt) {
case PIX_FMT_RGB48BE: case PIX_FMT_RGB48BE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment