[FFmpeg-devel] [PATCH] ALS decoder

Justin Ruggles justin.ruggles
Thu Sep 17 00:39:12 CEST 2009


Thilo Borgmann wrote:

> +AVCodec als_decoder = {
> +    "als",
> +    CODEC_TYPE_AUDIO,
> +    CODEC_ID_MP4ALS,
> +    sizeof(ALSDecContext),
> +    decode_init,
> +    NULL,
> +    decode_end,
> +    decode_frame,
> +    .flush = flush,
> +    .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"),
> +};

You should use the new CODEC_CAP_SUBFRAMES.

-Justin



More information about the ffmpeg-devel mailing list