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>
This commit is contained in:
Andreas Rheinhardt 2023-09-07 15:02:22 +02:00
parent e34d5d1e3b
commit 29c6f4329a

View File

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