Commit 29c6f432 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avfilter/vf_varblur: Don't use pointer-to-const for destination

Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent e34d5d1e
......@@ -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; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment