vmdaudio: correct the silent chunk count in the first block.
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 23 Feb 2011 18:11:03 +0000 (13:11 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Feb 2011 02:16:02 +0000 (03:16 +0100)
commit2be17a71ae1be0cdd8e7f50470f863dcb596c916
tree7c52ea66bd2dcb500be05be56651b80135fc4818
parentc11c79222e2d8d1799e768b156808cae90c8d692
vmdaudio: correct the silent chunk count in the first block.

This fixes A/V sync with several samples, notably:
http://samples.mplayerhq.hu/game-formats/sierra-vmd/swat_*.vmd

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 6989cb2dae85ea455ffcc8a36a763134fb311e29)
libavcodec/vmdav.c