aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_waveform.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-10-13 11:51:11 +0200
committerPaul B Mahol <onemda@gmail.com>2019-10-13 11:51:11 +0200
commit4f4334bcbcf177739fc0e159683408aeed66edc5 (patch)
tree4fe16808c496ccc6e54f0f1eed5a4206eb0b2481 /libavfilter/vf_waveform.c
parenta7fd1279703683ebb548ef7baa2f1519994496ae (diff)
downloadffmpeg-4f4334bcbcf177739fc0e159683408aeed66edc5.tar.gz
avfilter/vf_waveform: fix typos which caused crash
Diffstat (limited to 'libavfilter/vf_waveform.c')
-rw-r--r--libavfilter/vf_waveform.c4
1 files 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; \