[SCM] libav/experimental: Prefer enum PixelFormat to int as the parameter type of fmt_depth(fmt).
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:57:48 UTC 2013
The following commit has been merged in the experimental branch:
commit 73cadb4f1315b570b13384e93960415ab143da98
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date: Sat Jan 16 19:32:58 2010 +0000
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
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 5aae3b9..65174fd 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:
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list