avfilter/f_select: fix loss of precission in SAD calculation
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 16 Apr 2014 00:06:37 +0000 (02:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 16 Apr 2014 01:44:57 +0000 (03:44 +0200)
commit5a8ef3c66b762f265b05aa096105555f1d26879c
treea4b44091be6dd5e3268629cb9d45850c9630913a
parent1457f3fd90e17745791354fbb87899fc4803085a
avfilter/f_select: fix loss of precission in SAD calculation

Fixes part of Ticket3466
Found-by: Andrey_Karpov / PVS-Studio
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/f_select.c
tests/ref/fate/filter-metadata-scenedetect