diff options
author | leozhang <leozhang@qiyi.com> | 2019-10-30 11:07:12 +0800 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-07-17 13:53:22 +0200 |
commit | fe591393cd9f0fa130631ac7695420d4cac60d46 (patch) | |
tree | 051b54056d24602a1d787079341745648a8da006 | |
parent | 241cdded0fc72102f32429cb3f8c0361c518f993 (diff) | |
download | ffmpeg-fe591393cd9f0fa130631ac7695420d4cac60d46.tar.gz |
avfilter/vf_bilateral: remove useless memcpy
Signed-off-by: leozhang <leozhang@qiyi.com>
-rw-r--r-- | libavfilter/vf_bilateral.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_bilateral.c b/libavfilter/vf_bilateral.c index 47959afdad..3025b49ae5 100644 --- a/libavfilter/vf_bilateral.c +++ b/libavfilter/vf_bilateral.c @@ -277,8 +277,8 @@ static void bilateral_##name(BilateralContext *s, const uint8_t *ssrc, uint8_t * factor_++; \ } \ \ - memcpy(ypy, ycy, sizeof(float) * width); \ - memcpy(ypf, ycf, sizeof(float) * width); \ + ypy = ycy; \ + ypf = ycf; \ } \ \ for (int i = 0; i < height; i++) \ |