ffv1: avoid checking a double for equality
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Oct 2012 23:47:31 +0000 (01:47 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 12 Oct 2012 23:51:45 +0000 (01:51 +0200)
commit54b2d317ed99622efa07b10aca217e1a083105d9
tree06307533b06caece8f4fc5d7ca243946b505efb1
parentd2a618ab2213d6451ebfc74f1f0cf31b0e2bd0b8
ffv1: avoid checking a double for equality

if 0.0 != 0.0 a out of array read would occur, equal checks
with floating point may behave in such odd ways, though
this is very unlikely in a real implementation of a compiler

Fixes: CID718936
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ffv1.c