Commit 6f326b50 authored by Michael Niedermayer's avatar Michael Niedermayer

sws: fix:

libswscale/swscale_unscaled.c:915:9: warning: new qualifiers in middle of multi-level non-const cast are unsafe
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8c3ab309
......@@ -912,7 +912,7 @@ int sws_scale(struct SwsContext *c, const uint8_t* const srcSlice[],
dst2[3] += ( c->dstH -1)*dstStride[3];
reset_ptr(src2, c->srcFormat);
reset_ptr((const uint8_t**)dst2, c->dstFormat);
reset_ptr((void*)dst2, c->dstFormat);
/* reset slice direction at end of frame */
if (!srcSliceY)
......
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