mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/avf_ahistogram: make frame writable before writing to it
This commit is contained in:
parent
faac31cc86
commit
de07c57d5a
@ -181,6 +181,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
||||
}
|
||||
}
|
||||
|
||||
av_frame_make_writable(s->out);
|
||||
if (s->dmode == SEPARATE) {
|
||||
for (y = 0; y < w; y++) {
|
||||
s->combine_buffer[3 * y ] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user