• Clément Bœsch's avatar
    avfilter/dctdnoiz: fix slice_h computation · eb7efaa9
    Clément Bœsch authored
    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 -
    eb7efaa9
vf_dctdnoiz.c 36.1 KB