mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-19 21:06:42 +00:00
sws: fix:
libswscale/swscale_unscaled.c:915:9: warning: new qualifiers in middle of multi-level non-const cast are unsafe Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8c3ab3094b
commit
6f326b5054
@ -912,7 +912,7 @@ int sws_scale(struct SwsContext *c, const uint8_t* const srcSlice[],
|
|||||||
dst2[3] += ( c->dstH -1)*dstStride[3];
|
dst2[3] += ( c->dstH -1)*dstStride[3];
|
||||||
|
|
||||||
reset_ptr(src2, c->srcFormat);
|
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 */
|
/* reset slice direction at end of frame */
|
||||||
if (!srcSliceY)
|
if (!srcSliceY)
|
||||||
|
Loading…
Reference in New Issue
Block a user