riff: use bps instead of bits_per_coded_sample in the WAVEFORMATEXTENSIBLE header
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 16 Apr 2012 16:14:25 +0000 (12:14 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 17 Apr 2012 04:09:19 +0000 (00:09 -0400)
commit8099fc763bb071ba56e3de49a2104c57985fa3d1
tree3c28e16dbfe13c7d0d3b4b2a4c1244e7dfb65289
parentb1041f80489b3fe428ef586e6d631fda40bef80e
riff: use bps instead of bits_per_coded_sample in the WAVEFORMATEXTENSIBLE header

This matches the value for the plain WAVEFORMATEX header.
Also fixes stream copy to WAVE for non-16-bit raw pcm.
libavformat/riff.c