quartz: Parse audio packets in mpeg splitter to obtain the duration

Alexandre Julliard julliard at winehq.org
Sat Mar 22 07:20:39 CDT 2008


"Maarten Lankhorst" <m.b.lankhorst at gmail.com> writes:

> +    /* Destination sample should contain no data! But the source sample should */
> +    assert(!dlen);
> +    assert(*flen);

Are all these asserts really internal code invariants?  It seems to me
they could be triggered by invalid input data, and in that case an
assert is not the appropriate response.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list