lavc: use designated initialisers for all codecs.

It's more readable and less prone to breakage.
This commit is contained in:
Anton Khirnov
2011-07-17 12:54:31 +02:00
parent 3ad1684126
commit ec6402b7c5
191 changed files with 1826 additions and 2109 deletions

View File

@@ -206,14 +206,13 @@ static av_cold int cmv_decode_end(AVCodecContext *avctx){
}
AVCodec ff_eacmv_decoder = {
"eacmv",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_CMV,
sizeof(CmvContext),
cmv_decode_init,
NULL,
cmv_decode_end,
cmv_decode_frame,
CODEC_CAP_DR1,
.name = "eacmv",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_CMV,
.priv_data_size = sizeof(CmvContext),
.init = cmv_decode_init,
.close = cmv_decode_end,
.decode = cmv_decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Electronic Arts CMV video"),
};