wavparse: push mode; fix/improve chunk handling
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 10 Aug 2009 14:19:03 +0000 (16:19 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 31 Aug 2009 14:50:00 +0000 (16:50 +0200)
commit79f69bbf72e45b25e655c68f5c0855fdb9287e14
tree7ee58385f35444e210b0ad1d452c70dca4d2ce42
parentbb2b02c5b7584e70fb3736b242115e7097b0edb2
wavparse: push mode; fix/improve chunk handling

Handle large, invalid or otherwise unusual chunk sizes.
Verify some chunk sizes to be at least the size they are
expected to be and round up some sizes to even number for
e.g. offset administration, which must also be properly
tracked in push mode.
gst/wavparse/gstwavparse.c
gst/wavparse/gstwavparse.h