[vlc-devel] [vlc-commits] auhal: prevent assertion failure on TPCircularBufferClear (close #10109)
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)
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,
More information about the vlc-devel