diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-11-27 18:04:39 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-11-27 18:04:39 +0100 |
commit | eb86f72fcaf3abd6c7d243d7c85ab0440f752be5 (patch) | |
tree | 999c683567e61c9bf38a47210518a3d30b83291f /libavfilter | |
parent | 9d464dc3fccb53f1e7c83e3453084c1a7fb90503 (diff) | |
download | ffmpeg-eb86f72fcaf3abd6c7d243d7c85ab0440f752be5.tar.gz |
avfilter/vf_threshold: use correct linesize
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_threshold.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_threshold.c b/libavfilter/vf_threshold.c index 88f6ef28d7..76c3ddb892 100644 --- a/libavfilter/vf_threshold.c +++ b/libavfilter/vf_threshold.c @@ -155,7 +155,7 @@ static void threshold8(const uint8_t *in, const uint8_t *threshold, in += ilinesize; threshold += tlinesize; min += flinesize; - max += flinesize; + max += slinesize; out += olinesize; } } @@ -183,7 +183,7 @@ static void threshold16(const uint8_t *iin, const uint8_t *tthreshold, in += ilinesize / 2; threshold += tlinesize / 2; min += flinesize / 2; - max += flinesize / 2; + max += slinesize / 2; out += olinesize / 2; } } |