aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/exr.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-01 19:53:23 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-01 19:53:23 +0200
commit5dd5b7d5312d2b7cb6d3dbfde12f1eaef7c7767f (patch)
tree6e03023dbb942398fb06c24aa623a97860397b57 /libavcodec/exr.c
parent5b02e84bdb15e97fda0fcbe592a98a98bbd0034a (diff)
downloadffmpeg-5dd5b7d5312d2b7cb6d3dbfde12f1eaef7c7767f.tar.gz
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>
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r--libavcodec/exr.c2
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;
}