On 02/08/2014 10:53 PM, Luca Barbato wrote:
> On 09/02/14 02:59, Andrew Kelley wrote:
>> +    av_assert2(channels > 0); /* would corrupt delay_count and delay_index 
>> */
> 
> Reachable asserts are BUGS and SECURITY ISSUES.
> 
> Every time you leave an assert in release code you have to think twice.
> 
> if (!channels)
>     return AVERROR_BUG;
> 
> The rest of the code might or might not look like something avresample
> would do.

If you mean the whole filter... most certainly not. It's filtering the
audio, not converting anything.

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

Reply via email to