X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fwestwood.c;h=7712865e36e28b24cce2621974d7d1ae221fa72b;hb=db5effe1a4209e8ace97857e5de0d66a73fe7477;hp=818fe2d8d3743e4f052920b8390f100e496598bd;hpb=7a02527b05e2ae5ffab579062dbe3c888758335f;p=ffmpeg diff --git a/libavformat/westwood.c b/libavformat/westwood.c index 818fe2d8d37..7712865e36e 100644 --- a/libavformat/westwood.c +++ b/libavformat/westwood.c @@ -368,21 +368,21 @@ static int wsvqa_read_packet(AVFormatContext *s, #if CONFIG_WSAUD_DEMUXER AVInputFormat ff_wsaud_demuxer = { - "wsaud", - NULL_IF_CONFIG_SMALL("Westwood Studios audio format"), - sizeof(WsAudDemuxContext), - wsaud_probe, - wsaud_read_header, - wsaud_read_packet, + .name = "wsaud", + .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios audio format"), + .priv_data_size = sizeof(WsAudDemuxContext), + .read_probe = wsaud_probe, + .read_header = wsaud_read_header, + .read_packet = wsaud_read_packet, }; #endif #if CONFIG_WSVQA_DEMUXER AVInputFormat ff_wsvqa_demuxer = { - "wsvqa", - NULL_IF_CONFIG_SMALL("Westwood Studios VQA format"), - sizeof(WsVqaDemuxContext), - wsvqa_probe, - wsvqa_read_header, - wsvqa_read_packet, + .name = "wsvqa", + .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios VQA format"), + .priv_data_size = sizeof(WsVqaDemuxContext), + .read_probe = wsvqa_probe, + .read_header = wsvqa_read_header, + .read_packet = wsvqa_read_packet, }; #endif