[FFmpeg-soc] [soc]: r5112 - als/alsdec.c

Justin Ruggles justin.ruggles at gmail.com
Sat Aug 15 14:59:36 CEST 2009


thilo.borgmann wrote:

> Author: thilo.borgmann
> Date: Sat Aug 15 12:51:32 2009
> New Revision: 5112
> 
> Log:
> Add channel sorting to the unsupported features.
> 
> Modified:
>    als/alsdec.c
> 
> Modified: als/alsdec.c
> ==============================================================================
> --- als/alsdec.c	Sat Aug 15 12:47:18 2009	(r5111)
> +++ als/alsdec.c	Sat Aug 15 12:51:32 2009	(r5112)
> @@ -324,6 +324,11 @@ static int check_specific_config(ALSDecC
>          error = -1;
>      }
>  
> +    if (sconf->chan_sort) {
> +        av_log_missing_feature(ctx->avctx, "Channel sorting", 0);
> +        error = -1;
> +    }
> +

You don't need to exit just because the channels will be in the wrong
order.  Maybe print a warning message instead.

-Justin



More information about the FFmpeg-soc mailing list