avfilter/vf_psnr: Fix rounding error in average_max
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 Jul 2016 00:04:03 +0000 (02:04 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 Jul 2016 09:26:28 +0000 (11:26 +0200)
commit9264bb7e79a50678eca6f320e1e1fb85bf00b009
tree9769c999f9f8344d4abb4e0ceaa35b7abc48385c
parent541731488e2d6cc83629abdf5f9b00c873a6d1a4
avfilter/vf_psnr: Fix rounding error in average_max

The intermediate was rounded to an integer

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_psnr.c