asfdec: dont truncate type 2-5 values
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Mar 2013 20:56:46 +0000 (21:56 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Mar 2013 21:29:57 +0000 (22:29 +0100)
commitd9293648147013403de729958ea4c19a5b6c40e4
tree72402bff7e67c059001c6b1ef9cd7c8d20fda17c
parent4c56b79a16b22b91f68c4a16a1f6aaf4b32709e2
asfdec: dont truncate type 2-5 values

Fixes use of uninitialized variables and possible out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/asfdec.c