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.

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

Reply via email to