diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-18 16:54:18 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-18 16:54:18 +0100 |
commit | 3ff8ef62bbb9412322be3b20135794c52d582b8e (patch) | |
tree | 31c5beedbd24c89c8976571bed102d8757f64b38 /libavfilter/vf_spp.c | |
parent | e59c28b16660b8f86ef05c7f0db4db89e62ed55f (diff) | |
download | ffmpeg-3ff8ef62bbb9412322be3b20135794c52d582b8e.tar.gz |
avfilter/vf_spp: Fix pointer type warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_spp.c')
-rw-r--r-- | libavfilter/vf_spp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_spp.c b/libavfilter/vf_spp.c index 48d23a1da2..d1f60b3ed0 100644 --- a/libavfilter/vf_spp.c +++ b/libavfilter/vf_spp.c @@ -302,7 +302,7 @@ static void filter(SPPContext *p, uint8_t *dst, uint8_t *src, FFMIN(8, height + 8 - y), MAX_LEVEL - p->log2_count, ldither); } else { - store_slice16_c(dst + (y - 8) * dst_linesize, p->temp + 8 + y*linesize, + store_slice16_c((uint16_t*)(dst + (y - 8) * dst_linesize), p->temp + 8 + y*linesize, dst_linesize/2, linesize, width, FFMIN(8, height + 8 - y), MAX_LEVEL - p->log2_count, ldither); |