lavf/wavdec: skip padding byte
authorMatthieu Bouron <matthieu.bouron@gmail.com>
Mon, 8 Apr 2013 16:27:11 +0000 (18:27 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Apr 2013 18:13:40 +0000 (20:13 +0200)
commit1f2ce32825f7ca14c3bd90ef2781d75e8b704d41
treea7c90472d9dd588bfd99bf5b2ad321d1672bb576
parent0678c388bac79925a375594977cad3e41cd4c5bd
lavf/wavdec: skip padding byte

WAV chunks must be even aligned. This patch skip the extra padding byte
if chunk size is odd.

Fixes ticket #2417.

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/wavdec.c