aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ra144dec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-09-23 21:11:15 +0200
committerDiego Biurrun <diego@biurrun.de>2011-09-24 12:11:19 +0200
commit8671488799e7f03d7bc985099b73e18ea519ab39 (patch)
tree921efdee5016bbe3e96f601bb20e9bad45e72e84 /libavcodec/ra144dec.c
parent30b4ee7901ec5dbe24f1c75c0c0b43ba551c858b (diff)
downloadffmpeg-8671488799e7f03d7bc985099b73e18ea519ab39.tar.gz
Use explicit struct initializers for AVCodec declarations.
Diffstat (limited to 'libavcodec/ra144dec.c')
-rw-r--r--libavcodec/ra144dec.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/libavcodec/ra144dec.c b/libavcodec/ra144dec.c
index e64b6c20b4..10c85b72e2 100644
--- a/libavcodec/ra144dec.c
+++ b/libavcodec/ra144dec.c
@@ -114,15 +114,12 @@ static int ra144_decode_frame(AVCodecContext * avctx, void *vdata,
return 20;
}
-AVCodec ff_ra_144_decoder =
-{
- "real_144",
- AVMEDIA_TYPE_AUDIO,
- CODEC_ID_RA_144,
- sizeof(RA144Context),
- ra144_decode_init,
- NULL,
- NULL,
- ra144_decode_frame,
- .long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K)"),
+AVCodec ff_ra_144_decoder = {
+ .name = "real_144",
+ .type = AVMEDIA_TYPE_AUDIO,
+ .id = CODEC_ID_RA_144,
+ .priv_data_size = sizeof(RA144Context),
+ .init = ra144_decode_init,
+ .decode = ra144_decode_frame,
+ .long_name = NULL_IF_CONFIG_SMALL("RealAudio 1.0 (14.4K)"),
};