ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Thu Dec 18 16:54:18 2014 +0100| [3ff8ef62bbb9412322be3b20135794c52d582b8e] | committer: Michael Niedermayer
avfilter/vf_spp: Fix pointer type warning Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3ff8ef62bbb9412322be3b20135794c52d582b8e --- libavfilter/vf_spp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_spp.c b/libavfilter/vf_spp.c index 48d23a1..d1f60b3 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); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog