diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-16 19:32:58 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-16 19:32:58 +0000 |
commit | 73cadb4f1315b570b13384e93960415ab143da98 (patch) | |
tree | cc12a7d6407d999270a7cadfe11665d4584209fd | |
parent | bc45751f7ffcbe61d798cbea397e4b6dc3685af3 (diff) | |
download | ffmpeg-73cadb4f1315b570b13384e93960415ab143da98.tar.gz |
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
-rw-r--r-- | libswscale/swscale_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 5aae3b9c1e..65174fdd45 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -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: |