aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-18 22:00:01 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-18 22:00:33 +0100
commit6f326b5054122d6e741fa24982a9796c4db7a48f (patch)
tree487b66a6602ad32d490ef6882942e3c48d8d82a3 /libswscale
parent8c3ab3094b81ffc4525b2038d10aa5d744f16d71 (diff)
downloadffmpeg-6f326b5054122d6e741fa24982a9796c4db7a48f.tar.gz
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>
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 02f8e9c1cf..5485025b06 100644
--- a/libswscale/swscale_unscaled.c
+++ b/libswscale/swscale_unscaled.c
@@ -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)