Mercurial > mplayer.hg
changeset 30192:e25e411fb220
Remove const to avoid a bunch of GCC warnings against discarded qualifiers and
incompatible pointer type.
author | zuxy |
---|---|
date | Thu, 07 Jan 2010 07:13:18 +0000 |
parents | c2fc252b0d14 |
children | faadefe4a66e |
files | libswscale/x86/yuv2rgb_template.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/x86/yuv2rgb_template.c Thu Jan 07 04:59:50 2010 +0000 +++ b/libswscale/x86/yuv2rgb_template.c Thu Jan 07 07:13:18 2010 +0000 @@ -508,7 +508,7 @@ #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 @@ 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