Commit 5dd5b7d5 authored by Michael Niedermayer's avatar Michael Niedermayer

Revert "avcodec/exr: fix memset first arg in reverse_lut()"

This reverts commit 586ba24f.

Fixes Ticket 4386
Found-by: 's avatarMartin Vignali <martin.vignali@gmail.com>
parent 5b02e84b
...@@ -322,7 +322,7 @@ static uint16_t reverse_lut(const uint8_t *bitmap, uint16_t *lut) ...@@ -322,7 +322,7 @@ static uint16_t reverse_lut(const uint8_t *bitmap, uint16_t *lut)
i = k - 1; i = k - 1;
memset(lut + k * 2, 0, (USHORT_RANGE - k) * 2); memset(lut + k, 0, (USHORT_RANGE - k) * 2);
return i; return i;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment