avfilter/dctdnoiz: fix slice_h computation
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 -
Showing
Please
register
or
sign in
to comment