[FFmpeg-devel] [PATCH 1/3] oggdec: add support for Opus codec.

Paul B Mahol onemda at gmail.com
Thu Jul 19 17:18:41 CEST 2012


On 7/15/12, Nicolas George <nicolas.george at normalesup.org> wrote:
> This patch also introduces CODEC_ID_OPUS.
>
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavcodec/avcodec.h       |    1 +
>  libavformat/Makefile       |    1 +
>  libavformat/oggdec.c       |    1 +
>  libavformat/oggdec.h       |    1 +
>  libavformat/oggparseopus.c |  136
> ++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 140 insertions(+)
>  create mode 100644 libavformat/oggparseopus.c
>
>

[...]

> +}
> +
> +const struct ogg_codec ff_opus_codec = {
> +    .name      = "Opus",
> +    .magic     = "OpusHead",
> +    .magicsize = 8,
> +    .header    = opus_header,
> +    .packet    = opus_packet,
> +};
> +
nit: remove this newline at eof.


More information about the ffmpeg-devel mailing list