[FFmpeg-devel] [PATCH 1/3] lavc: add AV_CODEC_ID_DAALA and its description

Paul B Mahol onemda at gmail.com
Mon Oct 19 09:54:13 CEST 2015


On 10/19/15, Rostislav Pehlivanov <atomnuker at gmail.com> wrote:
> ---
>  libavcodec/avcodec.h    | 1 +
>  libavcodec/codec_desc.c | 7 +++++++
>  2 files changed, 8 insertions(+)
>
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index 18889ec..8512d31 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -220,6 +220,7 @@ enum AVCodecID {
>      AV_CODEC_ID_MIMIC,
>      AV_CODEC_ID_RL2,
>      AV_CODEC_ID_ESCAPE124,
> +    AV_CODEC_ID_DAALA,
>      AV_CODEC_ID_DIRAC,
>      AV_CODEC_ID_BFI,
>      AV_CODEC_ID_CMV,

No codecc in middle of list, add it at end.

> diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
> index 6979857..01d70ca 100644
> --- a/libavcodec/codec_desc.c
> +++ b/libavcodec/codec_desc.c
> @@ -737,6 +737,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
>          .props     = AV_CODEC_PROP_LOSSY,
>      },
>      {
> +        .id        = AV_CODEC_ID_DAALA,
> +        .type      = AVMEDIA_TYPE_VIDEO,
> +        .name      = "daala",
> +        .long_name = NULL_IF_CONFIG_SMALL("Daala"),
> +        .props     = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
> +    },
> +    {
>          .id        = AV_CODEC_ID_DIRAC,
>          .type      = AVMEDIA_TYPE_VIDEO,
>          .name      = "dirac",
> --
> 2.6.1.204.gc021fdf
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list