Browse Source

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>
tags/n2.7
Michael Niedermayer 10 years ago
parent
commit
5dd5b7d531
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/exr.c

+ 1
- 1
libavcodec/exr.c View File

@@ -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…
Cancel
Save