diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-07 15:02:22 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-07 20:58:00 +0200 |
commit | 29c6f4329aee832405236b40726fa75b1d391e91 (patch) | |
tree | fb7b2b33404b2ea5c6099f21a06637158fff091b /libavfilter | |
parent | e34d5d1e3b519290c5fc6c9b3226146096c42ae7 (diff) | |
download | ffmpeg-29c6f4329aee832405236b40726fa75b1d391e91.tar.gz |
avfilter/vf_varblur: Don't use pointer-to-const for destination
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_varblur.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_varblur.c b/libavfilter/vf_varblur.c index f6f8382adc..6ebb9c0663 100644 --- a/libavfilter/vf_varblur.c +++ b/libavfilter/vf_varblur.c @@ -45,7 +45,7 @@ typedef struct VarBlurContext { void (*compute_sat)(const uint8_t *ssrc, int linesize, int w, int h, - const uint8_t *dstp, + uint8_t *dstp, int dst_linesize); int (*blur_plane)(AVFilterContext *ctx, @@ -98,7 +98,7 @@ static const enum AVPixelFormat pix_fmts[] = { static void compute_sat##depth(const uint8_t *ssrc, \ int linesize, \ int w, int h, \ - const uint8_t *dstp, \ + uint8_t *dstp, \ int dst_linesize) \ { \ const type *src = (const type *)ssrc; \ |