lavfi/unsharp: fix opencl crash on 64bit linux

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/18/head
highgod0401 12 years ago committed by Michael Niedermayer
parent 09602dbe7a
commit 9a09a9fc43
  1. 2
      libavfilter/unsharp_opencl.c

@ -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