voc: abort if channel count or sample format changes [bug #265]
commit37e998b098e802cdf94ad31d97f3a0038d2d1900
authorMans Rullgard <mans@mansr.com>
Fri, 27 Apr 2018 21:27:01 +0000 (27 22:27 +0100)
committerMans Rullgard <mans@mansr.com>
Sun, 29 Apr 2018 18:22:54 +0000 (29 19:22 +0100)
tree50a9aa8d638bdaeb4e3bfaf5a03bd7a9385c4113
parente81229cddb9147b812f1f9e939f7cda25d950546
voc: abort if channel count or sample format changes [bug #265]

A corrupted file can have blocks with differing values for channel
count or sample format.  Detect this and abort.
src/voc.c