Use more designated initializers.

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.
This commit is contained in:
Paul B Mahol
2011-12-30 20:00:53 +01:00
committed by Carl Eugen Hoyos
parent 73ba2c1e62
commit ba10207bbe
21 changed files with 107 additions and 131 deletions

View File

@@ -1898,7 +1898,6 @@ AVCodec ff_dirac_decoder = {
.id = CODEC_ID_DIRAC,
.priv_data_size = sizeof(DiracContext),
.init = dirac_decode_init,
.encode = NULL,
.close = dirac_decode_end,
.decode = dirac_decode_frame,
.capabilities = CODEC_CAP_DELAY,