vp56: error out on invalid stream dimensions.
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 23 Feb 2012 19:19:33 +0000 (11:19 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 29 Feb 2012 00:41:58 +0000 (16:41 -0800)
commit8bc396fc0e8769a056375c1c211f389ce0e3ecc5
tree8597907e6e238118b77bb47320a1114be1cdf268
parentbb6d5411e1e1a8e0608b1af1c4addee654dcbac5
vp56: error out on invalid stream dimensions.

Prevents crashes when playing corrupt vp5/6 streams.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/vp5.c
libavcodec/vp6.c