aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-22 05:14:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-22 05:21:01 +0200
commitd3d97d43d51840086d86728bbfcd072eea7a5b85 (patch)
tree1fa7fb05a1e7afd3fa5d8be6116b2b63243953fd /libswscale
parent415f3ceac138dc0b20bd016d06b3cd8209cfa706 (diff)
downloadffmpeg-d3d97d43d51840086d86728bbfcd072eea7a5b85.tar.gz
sws: fix warning: new qualifiers in middle of multi-level non-const cast are unsafe warning.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale_unscaled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c
index e8a92c22e2..fc75c7d5da 100644
--- a/libswscale/swscale_unscaled.c
+++ b/libswscale/swscale_unscaled.c
@@ -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)