avfilter/fade: don't allow nb_frames == 0
authorGyan Doshi <ffmpeg@gyani.pro>
Mon, 29 Jul 2019 05:23:12 +0000 (10:53 +0530)
committerGyan Doshi <ffmpeg@gyani.pro>
Mon, 29 Jul 2019 07:16:59 +0000 (12:46 +0530)
commit43891ea8ab286a08e731ebac78123c4f1b1d35ca
tree7273605574b5b911488d80647ecb9c9fe04decea
parent20fed2f0ab197d60801280dfc844f6b29a397ff2
avfilter/fade: don't allow nb_frames == 0

In filter init, there's a division by nb_frames but value isn't checked.
libavfilter/vf_fade.c