Also remove some pointless NULL/0 assigments. C++ code must be left as it is because named struct initializers are not supported by C++ standard.
Requested-by: Baptiste Coudurier Approved-by: David Conrad Signed-off-by: Michael Niedermayer <michaelni@gmx.at>