X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fg729dec.c;h=191794b6e71e33e9e9038b20ce06ef55ca46d73f;hb=dde545c6970bca308b0b3f91dbb378d46f6808a4;hp=4714f19554974dc6b652cc2b07d15214aa990535;hpb=52c522c72090233edeeb0486a9bd8bee925a710a;p=ffmpeg diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c index 4714f195549..191794b6e71 100644 --- a/libavcodec/g729dec.c +++ b/libavcodec/g729dec.c @@ -714,14 +714,12 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVCodec ff_g729_decoder = { - "g729", - AVMEDIA_TYPE_AUDIO, - CODEC_ID_G729, - sizeof(G729Context), - decoder_init, - NULL, - NULL, - decode_frame, + .name = "g729", + .type = AVMEDIA_TYPE_AUDIO, + .id = CODEC_ID_G729, + .priv_data_size = sizeof(G729Context), + .init = decoder_init, + .decode = decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("G.729"), };