[FFmpeg-devel] [PATCH] ALS decoder

Thilo Borgmann thilo.borgmann
Thu Sep 24 17:20:12 CEST 2009


>> +/** Checks the ALSSpecificConfig for unsupported features.
>> + */
>> +static int check_specific_config(ALSDecContext *ctx)
>> +{
>> ...
>> +
>> +    if (sconf->chan_sort) {
>> +        av_log_missing_feature(ctx->avctx, "Channel sorting", 0);
>> +    }
>> +
>> +    if (sconf->rlslms) {
>> +        av_log_missing_feature(ctx->avctx, "Adaptive RLS-LMS
prediction", 0);
>> +        error = -1;
>> +    }
>
> Why do you not return an error for channel sorting?

Because decoding itself does not fail because of that. What comes out
has just some swapped channels so decoding of that might still make sense.

Everything else is part of rev. 23. Thanks!

-Thilo




More information about the ffmpeg-devel mailing list