You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Prefer enum PixelFormat to int as the parameter type of
fmt_depth(fmt). Originally committed as revision 30333 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user