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-08 14:31:29 +0100 |
commit | eb7efaa9244720c5f2051d76d76faeec864eca7a (patch) | |
tree | 64453dc39bf55b513bcbef60a676353d0f9109a9 /libavcodec/get_bits.h | |
parent | 009a57b4792e1abb494954b1d7d3bc29fc7fb6b6 (diff) | |
download | ffmpeg-eb7efaa9244720c5f2051d76d76faeec864eca7a.tar.gz |
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 -
Diffstat (limited to 'libavcodec/get_bits.h')
0 files changed, 0 insertions, 0 deletions