mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
Revert "avcodec/exr: fix memset first arg in reverse_lut()"
This reverts commit586ba24ff2
. Fixes Ticket 4386 Found-by: Martin Vignali <martin.vignali@gmail.com> (cherry picked from commit5dd5b7d531
) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7689fe5cfd
commit
fa538f1a8c
@ -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
Block a user