[vlc-devel] [vlc-commits] auhal: prevent assertion failure on TPCircularBufferClear (close #10109)

David Fuhrmann david.fuhrmann at gmail.com
Thu Dec 26 21:32:35 CET 2013


Am 26.12.2013 um 17:44 schrieb Felix Paul Kühne <git at videolan.org>:
> 
> +        if (availableBytes > 0)

Hi Felix,

Why this? Code works fine for availableBytes == 0, and < 0 should never happen, if the locks are set (as you just did in this patch). So this looks superfluous.

With best regards,
David


More information about the vlc-devel mailing list