mirror of https://git.ffmpeg.org/ffmpeg.git
g729dec: align codec declarations
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
225489f19b
commit
8ce0c7d264
|
@ -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"),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue