Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -881,7 +881,7 @@ static av_always_inline void lowpass(WaveformContext *s, · 880 unmodified lines | |||
| 881 | dst_data += dst_linesize * step; | 881 | dst_data += dst_linesize * step; |
| 882 | } | 882 | } |
| 883 | 883 | ||
| 884 | if (s->display != OVERLAY && column && !s->rgb) { | 884 | if (s->display != OVERLAY && column && !s->rgb && out->data[1] && out->data[2]) { |
| 885 | const int bg = s->bg_color[0]; | 885 | const int bg = s->bg_color[0]; |
| 886 | const int dst_h = 256; | 886 | const int dst_h = 256; |
| 887 | const int t0 = s->tint[0]; | 887 | const int t0 = s->tint[0]; |
| @@ -905,7 +905,7 @@ static av_always_inline void lowpass(WaveformContext *s, · 17 unmodified lines | |||
| 905 | dst0 += dst_linesize; | 905 | dst0 += dst_linesize; |
| 906 | dst1 += dst_linesize; | 906 | dst1 += dst_linesize; |
| 907 | } | 907 | } |
| 908 | } else if (s->display != OVERLAY && !s->rgb) { | 908 | } else if (s->display != OVERLAY && !s->rgb && out->data[1] && out->data[2]) { |
| 909 | const int bg = s->bg_color[0]; | 909 | const int bg = s->bg_color[0]; |
| 910 | const int dst_w = 256; | 910 | const int dst_w = 256; |
| 911 | const int t0 = s->tint[0]; | 911 | const int t0 = s->tint[0]; |