Unified · Split
| @@ -818,6 +818,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples) · 817 unmodified lines | ||
| 818 | 818 | y_loudness_lu_graph = lu_to_y(ebur128, loudness_3000 - ebur128->target); |
| 819 | 819 | y_loudness_lu_gauge = lu_to_y(ebur128, gauge_value); |
| 820 | 820 | |
| 821 | + av_frame_make_writable(pic); | |
| 821 | 822 | /* draw the graph using the short-term loudness */ |
| 822 | 823 | p = pic->data[0] + ebur128->graph.y*pic->linesize[0] + ebur128->graph.x*3; |
| 823 | 824 | for (y = 0; y < ebur128->graph.h; y++) { |