Commit 6378a6b3 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avfilter/vsrc_testsrc: Don't use const uint8_t* when pointee changes

The const makes no sense and is later cast away.
Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent bdccb27b
......@@ -327,7 +327,7 @@ static void haldclutsrc_fill_picture(AVFilterContext *ctx, AVFrame *frame)
float scale;
const int w = frame->width;
const int h = frame->height;
const uint8_t *data = frame->data[0];
uint8_t *data = frame->data[0];
const int linesize = frame->linesize[0];
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(frame->format);
const int depth = desc->comp[0].depth;
......
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