Commit 3ff8ef62 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_spp: Fix pointer type warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e59c28b1
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment