mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-23 07:42:51 +00:00
lavfi/unsharp: fix opencl crash on 64bit linux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
09602dbe7a
commit
9a09a9fc43
@ -51,7 +51,7 @@ static int compute_mask(int step, uint32_t *mask)
|
|||||||
ret = AVERROR(ENOMEM);
|
ret = AVERROR(ENOMEM);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
counter = av_mallocz(counter_size);
|
counter = av_mallocz(sizeof(uint32_t *) * (2 * step + 1));
|
||||||
if (!counter) {
|
if (!counter) {
|
||||||
ret = AVERROR(ENOMEM);
|
ret = AVERROR(ENOMEM);
|
||||||
goto end;
|
goto end;
|
||||||
|
Loading…
Reference in New Issue
Block a user