wmapro: make sure there is room to store the current packet
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 28 Jun 2013 02:03:47 +0000 (04:03 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 28 Jun 2013 11:15:40 +0000 (13:15 +0200)
commite30b068ef79f604ff439418da07f7e2efd01d4ea
treeb3a2d0dc0edf781800b1b50c60e014dc32091d5c
parentafe03092dd693d025d43e1620283d8d285c92772
wmapro: make sure there is room to store the current packet

Prevent horrid and hard to trace struct overwrite.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/wmaprodec.c