[libav-devel] [PATCH] aac: Wait to know the channels before allocating frame

Luca Barbato lu_zero at gentoo.org
Sat Jun 6 19:04:19 CEST 2015


On 06/06/15 17:13, nu774 wrote:
> In 13818-7, it is written as:
> PCE’s must come before all other syntactic elements in a raw_data_block().
> 
> Therefore, I think we can simply fail here (instead of skipping
> elements) to make the patch more simpler:
> 
>> +        if (!avctx->channels && elem_type != TYPE_PCE)
>> +            goto skip;

Ok, updated set ready. Thanks a lot!

lu



More information about the libav-devel mailing list