Browse Source

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

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.6
Paul B Mahol 11 years ago
parent
commit
586ba24ff2
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, 0, (USHORT_RANGE - k) * 2);
memset(lut + k * 2, 0, (USHORT_RANGE - k) * 2);

return i;
}


Loading…
Cancel
Save