wavparse: Don't do calculations with -1 offsets when handling SEGMENT events
authorSebastian Dröge <sebastian@centricular.com>
Tue, 19 Jan 2016 12:55:57 +0000 (14:55 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 19 Jan 2016 12:55:57 +0000 (14:55 +0200)
commit322bdf513628d7faadd9aa17fdb4adc58a28a7ff
tree591c33848c7c92d73da56533e71a43de20e2a82b
parent366bbffcd8240c9e44f9360187a44d7bf97047ef
wavparse: Don't do calculations with -1 offsets when handling SEGMENT events

We use that to signal "infinity", taking the difference between that and some
other value is not going to give us any useful result for the end offsets of
segments.
gst/wavparse/gstwavparse.c