Commit b2cf655d authored by Michael Niedermayer's avatar Michael Niedermayer

sws: add casts to silence pointer type mismatch warnings

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7ded0179
......@@ -992,7 +992,7 @@ int attribute_align_arg sws_scale(struct SwsContext *c,
base = srcStride[0] < 0 ? rgb0_tmp - srcStride[0] * (srcSliceH-1) : rgb0_tmp;
xyz12Torgb48(c, base, src2[0], srcStride[0]/2, srcSliceH);
xyz12Torgb48(c, (uint16_t*)base, (const uint16_t*)src2[0], srcStride[0]/2, srcSliceH);
src2[0] = base;
}
......
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