diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-18 22:00:01 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-18 22:00:33 +0100 |
commit | 6f326b5054122d6e741fa24982a9796c4db7a48f (patch) | |
tree | 487b66a6602ad32d490ef6882942e3c48d8d82a3 /libswscale/swscale_unscaled.c | |
parent | 8c3ab3094b81ffc4525b2038d10aa5d744f16d71 (diff) | |
download | ffmpeg-streaming-6f326b5054122d6e741fa24982a9796c4db7a48f.zip ffmpeg-streaming-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/swscale_unscaled.c')
-rw-r--r-- | libswscale/swscale_unscaled.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index 02f8e9c..5485025 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) |