wavpack: extract sample rate from the bitstream
authorAnton Khirnov <anton@khirnov.net>
Mon, 27 May 2013 15:23:15 +0000 (17:23 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 28 May 2013 15:46:03 +0000 (17:46 +0200)
commit78f75b6fa421dd39a715588e9487579f1ce5bada
treeff2cede48812506fd4843a9a2e5fdd7713eef030
parent0ba49d28a1c58e1fc16c0406617a3bfc99c322dd
wavpack: extract sample rate from the bitstream

This way we don't require the caller to parse the block header. It also
allows the sample rate to change mid-stream.
libavcodec/wavpack.c