On Tue, Mar 11, 2014 at 04:23:13PM +0100, Vittorio Giovara wrote:
> --- a/Changelog
> +++ b/Changelog
> @@ -5,6 +5,7 @@ version <next>:
>  - compand audio filter
>  - shuffleplanes filter
>  - LucasArts SMUSH SANM video decoder
> +- LucasArts SMUSH VIMA audio decoder (adpcm)

ADPCM

> --- a/libavcodec/codec_desc.c
> +++ b/libavcodec/codec_desc.c
> @@ -1688,6 +1688,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
>      },
> +    {
> +        .id        = AV_CODEC_ID_ADPCM_VIMA,
> +        .type      = AVMEDIA_TYPE_AUDIO,
> +        .name      = "adpcm_vima",
> +        .long_name = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio"),
> +    },
>  
> --- /dev/null
> +++ b/libavcodec/vima.c
> @@ -0,0 +1,218 @@
> +
> +AVCodec ff_adpcm_vima_decoder = {
> +    .name         = "vima",
> +    .long_name    = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio"),
> +    .type         = AVMEDIA_TYPE_AUDIO,
> +    .id           = AV_CODEC_ID_ADPCM_VIMA,

The names used in both files disagree.  It should probably be "adpcm_vima"
in both cases.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to