From 4f4334bcbcf177739fc0e159683408aeed66edc5 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 13 Oct 2019 11:51:11 +0200 Subject: [PATCH] avfilter/vf_waveform: fix typos which caused crash --- libavfilter/vf_waveform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_waveform.c b/libavfilter/vf_waveform.c index e6c47bbd29..a209731ae2 100644 --- a/libavfilter/vf_waveform.c +++ b/libavfilter/vf_waveform.c @@ -1348,8 +1348,8 @@ static int name(AVFilterContext *ctx, c0_data += c0_linesize; \ if (!c1_shift_h || (y & c1_shift_h)) \ c1_data += c1_linesize; \ - if (!c1_shift_h || (y & c1_shift_h)) \ - c2_data += c1_linesize; \ + if (!c2_shift_h || (y & c2_shift_h)) \ + c2_data += c2_linesize; \ d0_data += d0_linesize; \ d1_data += d1_linesize; \ d2_data += d2_linesize; \