diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-04-27 11:35:18 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-04-27 11:36:34 +0200 |
commit | e0e75f93b97ab2ce9eb5dab5f2419799036f3c45 (patch) | |
tree | 1f3dbeb7aae3a725d0bf3a8b5d6cc2192971ffe4 /libavfilter | |
parent | 9faec78b142907641e707c0b2fa49a0725272a87 (diff) | |
download | ffmpeg-e0e75f93b97ab2ce9eb5dab5f2419799036f3c45.tar.gz |
avfilter/vf_maskedclamp: silence warning
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_maskedclamp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_maskedclamp.c b/libavfilter/vf_maskedclamp.c index 576cf91f1a..dc64426a30 100644 --- a/libavfilter/vf_maskedclamp.c +++ b/libavfilter/vf_maskedclamp.c @@ -196,7 +196,7 @@ static int maskedclamp16(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs int x, y; if (!((1 << p) & s->planes)) { - av_image_copy_plane(dst, dlinesize, bsrc, blinesize, + av_image_copy_plane((uint8_t *)dst, dlinesize, (const uint8_t *)bsrc, blinesize, s->linesize[p], slice_end - slice_start); continue; } |