waveparse: Assert and execute an integer overflow on invalid duration
@ndufresne
Submitted by Nicolas Dufresne Link to original bug (#791833)
Description
+++ 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.