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:36:15 +0000 (21:36 +0200)
commit6b14563c0e7848992a5fe70a80135fe090bfad51
tree34edb39cf7a5c348338d4f10b37fd5619a32fe48
parent3074e8f78c4d84f93c1bdc05f36f0bce8b8a830f
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