Commit d3d97d43 authored by Michael Niedermayer's avatar Michael Niedermayer

sws: fix warning: new qualifiers in middle of multi-level non-const cast are unsafe warning.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 415f3cea
......@@ -798,7 +798,7 @@ int sws_scale(struct SwsContext *c, const uint8_t* const srcSlice[],
int dstStride2[4]= {dstStride[0], dstStride[1], dstStride[2], 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 + srcSliceH == c->srcH)
......
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