Browse Source

avfilter/vf_threshold: use correct linesize

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n4.0
Paul B Mahol 8 years ago
parent
commit
eb86f72fca
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavfilter/vf_threshold.c

+ 2
- 2
libavfilter/vf_threshold.c View File

@@ -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;
}
}


Loading…
Cancel
Save