Browse Source

avfilter/vf_spp: Fix pointer type warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 11 years ago
parent
commit
3ff8ef62bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_spp.c

+ 1
- 1
libavfilter/vf_spp.c View File

@@ -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);


Loading…
Cancel
Save