Commit 61ce2f85 authored by zuxy's avatar zuxy

Remove const to avoid a bunch of GCC warnings against discarded qualifiers and

incompatible pointer type.


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@30234 b3059339-0415-0410-9bf9-f77b7e298cf2
parent a5937e80
......@@ -508,7 +508,7 @@ static inline int RENAME(yuva420_rgb32)(SwsContext *c, uint8_t* src[], int srcSt
#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)(SwsContext *c, const uint8_t* src[], int
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment