diff options
author | Clément Bœsch <u@pkh.me> | 2015-02-08 14:27:51 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-02-12 20:21:56 +0100 |
commit | 3429714f3d046f4e2235848a60b6f63bd084e01f (patch) | |
tree | a3e2423414807f37c94dbf40e9530b57dbda0ce2 /libavfilter/unsharp_opencl.c | |
parent | ee902d3d2d78b1aed7d1c562d58128b450a54b02 (diff) | |
download | ffmpeg-n2.5.4.tar.gz |
avfilter/dctdnoiz: fix slice_h computationn2.5.4
ceilf() can only work if the reminder of the division is not 0.
This fixes memory errors with for instance:
ffmpeg -f lavfi -i testsrc=s=800x500 -threads 3 -vf dctdnoiz -frames:v 1 -f null -
(cherry picked from commit eb7efaa9244720c5f2051d76d76faeec864eca7a)
Diffstat (limited to 'libavfilter/unsharp_opencl.c')
0 files changed, 0 insertions, 0 deletions