Set duration for wav files from sample size and data size or the wf64 sample value.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 15 Jan 2011 16:26:42 +0000 (16:26 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 15 Jan 2011 16:26:42 +0000 (16:26 +0000)
commit462b26202bc167c52159bcf409c0955bfa37134b
tree6228da63627bf35c05ea01ae7efe7938bf4c0728
parent13184036a6b1b1d4b61c91118c0896e9ad4634c3
Set duration for wav files from sample size and data size or the wf64 sample value.
This should improve duration accuracy slightly and avoids a warning about its
inaccuracy when accurate values are available. Idea by Frank Barchard

Originally committed as revision 26366 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/wav.c