OSDN Git Service

westwood: Make sure audio header info is present when parsing audio packets
authorShitiz Garg <mail@dragooon.net>
Thu, 15 Dec 2011 09:02:59 +0000 (14:32 +0530)
committerMartin Storsjö <martin@martin.st>
Thu, 15 Dec 2011 09:07:20 +0000 (11:07 +0200)
commit566ee0eaf1543101f7a441cc42e3ddad097363bf
tree777bdc7b476dda9ecbdba42f10f8bb20397208f0
parent1b35af3225392a5328f6534c53e96a56cd5eb305
westwood: Make sure audio header info is present when parsing audio packets

Audio header information might get scrambled and would not parse,
yet wsqva_read_packet would try to parse audio packets causing
segfaults such as floating point exception.

Fixes bugzilla #141.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/westwood.c