History

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

The const makes no sense and is later cast away.

Andreas Rheinhardt committed 3 years ago

Commit 6378a6b1 parent bdccb271 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vsrc_testsrc.c+1−1
@@ -327,7 +327,7 @@ static void haldclutsrc_fill_picture(AVFilterContext *ctx, AVFrame *frame) · 326 unmodified lines
327327 float scale;
328328 const int w = frame->width;
329329 const int h = frame->height;
330− const uint8_t *data = frame->data[0];
330+ uint8_t *data = frame->data[0];
331331 const int linesize = frame->linesize[0];
332332 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(frame->format);
333333 const int depth = desc->comp[0].depth;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t