diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-04-01 20:53:23 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-01 20:53:23 +0300 |
commit | 5dd5b7d5312d2b7cb6d3dbfde12f1eaef7c7767f (patch) | |
tree | 6e03023dbb942398fb06c24aa623a97860397b57 | |
parent | 5b02e84bdb15e97fda0fcbe592a98a98bbd0034a (diff) |
Revert "avcodec/exr: fix memset first arg in reverse_lut()"
This reverts commit 586ba24ff29468d2a4ee843a9650feea5b2be6f6.
Fixes Ticket 4386
Found-by: Martin Vignali <martin.vignali@gmail.com>
-rw-r--r-- | libavcodec/exr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 6251fb76fd..f9525ecf02 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -322,7 +322,7 @@ static uint16_t reverse_lut(const uint8_t *bitmap, uint16_t *lut) i = k - 1; - memset(lut + k * 2, 0, (USHORT_RANGE - k) * 2); + memset(lut + k, 0, (USHORT_RANGE - k) * 2); return i; } |