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>
Mon, 23 Jun 2014 14:51:08 +0000 (16:51 +0200)
commit90a384cde1631188fc87088ecbc6813c9885898e
tree3d22327cba401bb1868ed16ded2e630fd401bfb3
parentaf109ff12581e616f7b3015c9c929ad6b54bdf3e
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>
(cherry picked from commit 5a8ef3c66b762f265b05aa096105555f1d26879c)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/f_select.c
tests/ref/fate/filter-metadata-scenedetect