avfilter/vf_ssim: fix temp size calculation
authorMuhammad Faiz <mfcc64@gmail.com>
Thu, 3 Aug 2017 00:59:09 +0000 (07:59 +0700)
committerMuhammad Faiz <mfcc64@gmail.com>
Thu, 3 Aug 2017 23:53:39 +0000 (06:53 +0700)
commitf2d23ec03f28c6233059687c65a9124f65f8c312
treed31fc0f729dfa13f76acb2d2ed5fb52dfce2f7da
parent3407d8118c7236c94dc0eddabc82041e5c130201
avfilter/vf_ssim: fix temp size calculation

Also use av_mallocz_array.
Fix Ticket6519.

Reviewed-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
libavfilter/vf_ssim.c