wavparse: clip chunk length to available data (when known)
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 20 Mar 2015 09:07:35 +0000 (09:07 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 7 Apr 2015 11:12:44 +0000 (12:12 +0100)
commit3ac119bbe2c360e28c087cf3852ea769d611b120
tree1b814a1884591242016f2d421680139cb5457424
parentbf95f93c0189aa04f18e264b86b6527e431c5d53
wavparse: clip chunk length to available data (when known)

This prevents silly chunk lengths from possibly overflowing
(at least when we know the actual data length).

https://bugzilla.gnome.org/show_bug.cgi?id=722567
gst/wavparse/gstwavparse.c