[FFmpeg-cvslog] avfilter/vf_waveform: fix typos which caused crash
Paul B Mahol
git at videolan.org
Sun Oct 13 12:53:04 EEST 2019
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Oct 13 11:51:11 2019 +0200| [4f4334bcbcf177739fc0e159683408aeed66edc5] | committer: Paul B Mahol
avfilter/vf_waveform: fix typos which caused crash
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4f4334bcbcf177739fc0e159683408aeed66edc5
---
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; \
More information about the ffmpeg-cvslog
mailing list