You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02: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:
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user