Browse Source

lavfi/unsharp: fix opencl crash on 64bit linux

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
highgod0401 Michael Niedermayer 12 years ago
parent
commit
9a09a9fc43
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/unsharp_opencl.c

+ 1
- 1
libavfilter/unsharp_opencl.c View File

@@ -51,7 +51,7 @@ static int compute_mask(int step, uint32_t *mask)
ret = AVERROR(ENOMEM);
goto end;
}
counter = av_mallocz(counter_size);
counter = av_mallocz(sizeof(uint32_t *) * (2 * step + 1));
if (!counter) {
ret = AVERROR(ENOMEM);
goto end;


Loading…
Cancel
Save