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