Commit 8ce0c7d2 authored by Paul B Mahol's avatar Paul B Mahol

g729dec: align codec declarations

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 225489f1
...@@ -714,14 +714,13 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, ...@@ -714,14 +714,13 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr,
return buf_size; return buf_size;
} }
AVCodec ff_g729_decoder = AVCodec ff_g729_decoder = {
{
.name = "g729", .name = "g729",
.type = AVMEDIA_TYPE_AUDIO, .type = AVMEDIA_TYPE_AUDIO,
.id = CODEC_ID_G729, .id = CODEC_ID_G729,
.priv_data_size = sizeof(G729Context), .priv_data_size = sizeof(G729Context),
.init = decoder_init, .init = decoder_init,
.decode = decode_frame, .decode = decode_frame,
.capabilities = CODEC_CAP_DR1, .capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("G.729"), .long_name = NULL_IF_CONFIG_SMALL("G.729"),
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment