[FFmpeg-devel] [PATCH 4/4] lavc: Opus decoder using libopus.

Paul B Mahol onemda at gmail.com
Wed Jul 4 15:58:35 CEST 2012


On 7/4/12, Nicolas George <nicolas.george at normalesup.org> wrote:
>
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  configure                |    5 ++
>  libavcodec/Makefile      |    1 +
>  libavcodec/allcodecs.c   |    1 +
>  libavcodec/libopus_dec.c |  175
> ++++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 182 insertions(+)
>  create mode 100644 libavcodec/libopus_dec.c
>

[...]

> +
> +AVCodec ff_libopus_decoder = {
> +    .name           = "libopus",
> +    .type           = AVMEDIA_TYPE_AUDIO,
> +    .id             = CODEC_ID_OPUS,
> +    .priv_data_size = sizeof(struct libopus_context),
> +    .init           = libopus_dec_init,
> +    .close          = libopus_dec_close,
> +    .decode         = libopus_dec_decode,
> +    .capabilities   = CODEC_CAP_DR1,
> +    .long_name      = NULL_IF_CONFIG_SMALL("Opus decoder using libopus"),

.long_name should be "libopus Opus"


More information about the ffmpeg-devel mailing list