mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
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:
parent
e34d5d1e3b
commit
29c6f4329a
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user