Fixes gcc warnings Fixes CID1061056 Fixes CID1061057 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>