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 18:47:56 +0000 (20:47 +0200)
commit321bbb6f496d3125d4b4507dc9fd280c1def5c98
treec7aaf47caa77c123341881bcc578372950d29863
parent81476cf6932f10da84a0b7b2d14ad42b9d98a017
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