Commit 1909a915 authored by Michael Niedermayer's avatar Michael Niedermayer

swscale/output: Fix "warning: assignment from incompatible pointer type"

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 8a173351
...@@ -2010,11 +2010,15 @@ yuv2ya8_X_c(SwsContext *c, const int16_t *lumFilter, ...@@ -2010,11 +2010,15 @@ yuv2ya8_X_c(SwsContext *c, const int16_t *lumFilter,
static void static void
yuv2ayuv64le_X_c(SwsContext *c, const int16_t *lumFilter, yuv2ayuv64le_X_c(SwsContext *c, const int16_t *lumFilter,
const int32_t **lumSrc, int lumFilterSize, const int16_t **_lumSrc, int lumFilterSize,
const int16_t *chrFilter, const int32_t **chrUSrc, const int16_t *chrFilter, const int16_t **_chrUSrc,
const int32_t **chrVSrc, int chrFilterSize, const int16_t **_chrVSrc, int chrFilterSize,
const int32_t **alpSrc, uint8_t *dest, int dstW, int y) const int16_t **_alpSrc, uint8_t *dest, int dstW, int y)
{ {
const int32_t **lumSrc = (const int32_t **) _lumSrc,
**chrUSrc = (const int32_t **) _chrUSrc,
**chrVSrc = (const int32_t **) _chrVSrc,
**alpSrc = (const int32_t **) _alpSrc;
int hasAlpha = !!alpSrc; int hasAlpha = !!alpSrc;
int i; int i;
......
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