# HG changeset patch # User stefano # Date 1263670378 0 # Node ID 6719a8bcc039b6d8dc35982268ef10b14d92447c # Parent af1d6d36850d3acee9791e381b224d4401f5855b Prefer enum PixelFormat to int as the parameter type of fmt_depth(fmt). diff -r af1d6d36850d -r 6719a8bcc039 libswscale/swscale_internal.h --- a/libswscale/swscale_internal.h Sat Jan 16 19:22:30 2010 +0000 +++ b/libswscale/swscale_internal.h Sat Jan 16 19:32:58 2010 +0000 @@ -389,7 +389,7 @@ || (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: