cavs: fix some crashes with invalid bitstreams
authorMans Rullgard <mans@mansr.com>
Wed, 10 Aug 2011 17:52:11 +0000 (18:52 +0100)
committerMans Rullgard <mans@mansr.com>
Wed, 10 Aug 2011 21:35:20 +0000 (22:35 +0100)
commit4a71da0f3ab7f5542decd11c81994f849d5b2c78
tree9ea4c1606c11806ce123ef41057df3e0f5608dba
parent069083a419fc1a267ee997817c4e368fa67ca154
cavs: fix some crashes with invalid bitstreams

This removes all valgrind-reported invalid writes with one
specific test file.

Fixes http://www.ocert.org/advisories/ocert-2011-002.html

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/cavsdec.c