Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer authored on 2014/12/19 00:54:18... | ... |
@@ -302,7 +302,7 @@ static void filter(SPPContext *p, uint8_t *dst, uint8_t *src, |
302 | 302 |
FFMIN(8, height + 8 - y), MAX_LEVEL - p->log2_count, |
303 | 303 |
ldither); |
304 | 304 |
} else { |
305 |
- store_slice16_c(dst + (y - 8) * dst_linesize, p->temp + 8 + y*linesize, |
|
305 |
+ store_slice16_c((uint16_t*)(dst + (y - 8) * dst_linesize), p->temp + 8 + y*linesize, |
|
306 | 306 |
dst_linesize/2, linesize, width, |
307 | 307 |
FFMIN(8, height + 8 - y), MAX_LEVEL - p->log2_count, |
308 | 308 |
ldither); |