wmv1: check that the input buffer is large enough
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Jun 2012 19:42:29 +0000 (21:42 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Jun 2012 19:07:53 +0000 (21:07 +0200)
commit316589e1db5a563533843994d4a074f3d667958d
tree745f8fcdd45369d3b19a4e55783cfd0d6df13137
parent35bf5f7966768a5f01467ff721b6f98375b1a52c
wmv1: check that the input buffer is large enough

Fixes null ptr deref
Fixes Ticket1367

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit f23a2418fb0ccc56fdae4dbf83a5994cc917c475)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/wnv1.c