You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/avf_ahistogram: make frame writable before writing to it
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user