waveparse: Assert and execute an integer overflow on invalid duration
Submitted by Nicolas Dufresne
+++ This bug was initially created as a clone of Bug 791811 +++
A bug in festival element lead to this assertion:
ERROR:gstwavparse.c:1310:gst_wavparse_stream_headers: assertion failed: (upstream_size >= wav->offset)
I think it's a bit silly to assert and compute the integer overflow. We should warn and ignore the duration query value instead.