[FFmpeg-cvslog] r30234 - trunk/libswscale/x86/yuv2rgb_template.c

zuxy subversion
Thu Jan 7 08:13:18 CET 2010


Author: zuxy
Date: Thu Jan  7 08:13:18 2010
New Revision: 30234

Log:
Remove const to avoid a bunch of GCC warnings against discarded qualifiers and
incompatible pointer type.

Modified:
   trunk/libswscale/x86/yuv2rgb_template.c

Modified: trunk/libswscale/x86/yuv2rgb_template.c
==============================================================================
--- trunk/libswscale/x86/yuv2rgb_template.c	Thu Jan  7 05:59:50 2010	(r30233)
+++ trunk/libswscale/x86/yuv2rgb_template.c	Thu Jan  7 08:13:18 2010	(r30234)
@@ -508,7 +508,7 @@ static inline int RENAME(yuva420_rgb32)(
 #endif
 }
 
-static inline int RENAME(yuv420_bgr32)(SwsContext *c, const uint8_t* src[], int srcStride[], int srcSliceY,
+static inline int RENAME(yuv420_bgr32)(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
                                        int srcSliceH, uint8_t* dst[], int dstStride[])
 {
     int y, h_size;
@@ -525,7 +525,7 @@ static inline int RENAME(yuv420_bgr32)(S
     YUV2RGB_OPERANDS
 }
 
-static inline int RENAME(yuva420_bgr32)(SwsContext *c, const uint8_t* src[], int srcStride[], int srcSliceY,
+static inline int RENAME(yuva420_bgr32)(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
                                         int srcSliceH, uint8_t* dst[], int dstStride[])
 {
 #if HAVE_7REGS



More information about the ffmpeg-cvslog mailing list