mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avfilter/vsrc_testsrc: Don't use const uint8_t* when pointee changes
The const makes no sense and is later cast away. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
bdccb27ba4
commit
6378a6b3fe
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue