diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-09-23 23:11:15 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-09-24 14:11:19 +0400 |
commit | 8671488799e7f03d7bc985099b73e18ea519ab39 (patch) | |
tree | 921efdee5016bbe3e96f601bb20e9bad45e72e84 /libavcodec/ra288.c | |
parent | 30b4ee7901ec5dbe24f1c75c0c0b43ba551c858b (diff) |
Use explicit struct initializers for AVCodec declarations.
Diffstat (limited to 'libavcodec/ra288.c')
-rw-r--r-- | libavcodec/ra288.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index 64d765cecd..a0b86a2bf0 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -203,15 +203,12 @@ static int ra288_decode_frame(AVCodecContext * avctx, void *data, return avctx->block_align; } -AVCodec ff_ra_288_decoder = -{ - "real_288", - AVMEDIA_TYPE_AUDIO, - CODEC_ID_RA_288, - sizeof(RA288Context), - ra288_decode_init, - NULL, - NULL, - ra288_decode_frame, - .long_name = NULL_IF_CONFIG_SMALL("RealAudio 2.0 (28.8K)"), +AVCodec ff_ra_288_decoder = { + .name = "real_288", + .type = AVMEDIA_TYPE_AUDIO, + .id = CODEC_ID_RA_288, + .priv_data_size = sizeof(RA288Context), + .init = ra288_decode_init, + .decode = ra288_decode_frame, + .long_name = NULL_IF_CONFIG_SMALL("RealAudio 2.0 (28.8K)"), }; |