[FFmpeg-devel] [PATCH 30/31] avfilter/vf_varblur: Don't use pointer-to-const for destination
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Thu Sep 7 17:03:21 EEST 2023
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavfilter/vf_varblur.c | 4 ++--
1 file 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; \
--
2.34.1
More information about the ffmpeg-devel
mailing list