Use enum PixelFormat in sws_format_name() prototype
authorMåns Rullgård <mans@mansr.com>
Wed, 1 Jul 2009 12:40:28 +0000 (12:40 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 1 Jul 2009 12:40:28 +0000 (12:40 +0000)
Originally committed as revision 29409 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale_internal.h

index 23ceec7..60a08a7 100644 (file)
@@ -294,7 +294,7 @@ void ff_yuv2packedX_altivec(SwsContext *c,
                             const int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize,
                             uint8_t *dest, int dstW, int dstY);
 
-const char *sws_format_name(int format);
+const char *sws_format_name(enum PixelFormat format);
 
 //FIXME replace this with something faster
 #define is16BPS(x)      (           \