-AVCodec ws_snd1_decoder = {
- "ws_snd1",
- AVMEDIA_TYPE_AUDIO,
- CODEC_ID_WESTWOOD_SND1,
- 0,
- ws_snd_decode_init,
- NULL,
- NULL,
- ws_snd_decode_frame,
+AVCodec ff_ws_snd1_decoder = {
+ .name = "ws_snd1",
+ .type = AVMEDIA_TYPE_AUDIO,
+ .id = CODEC_ID_WESTWOOD_SND1,
+ .priv_data_size = sizeof(WSSndContext),
+ .init = ws_snd_decode_init,
+ .decode = ws_snd_decode_frame,
+ .capabilities = CODEC_CAP_DR1,