mirror of https://git.ffmpeg.org/ffmpeg.git
Revert "avcodec/exr: fix memset first arg in reverse_lut()"
This reverts commit 586ba24ff2
.
Fixes Ticket 4386
Found-by: Martin Vignali <martin.vignali@gmail.com>
This commit is contained in:
parent
5b02e84bdb
commit
5dd5b7d531
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue