avsdec: Set dimensions instead of relying on the demuxer.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 20 Apr 2012 15:42:18 +0000 (17:42 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 20 Apr 2012 15:42:18 +0000 (17:42 +0200)
commit1df49142bab1b7bccd11392aa9e819e297d21a6e
treed580e8b13d1d1cb5a7564eec6021c2822c822347
parent34c426be4a3cb52f6d420e5e775a3f2daebcfefe
avsdec: Set dimensions instead of relying on the demuxer.

This fixes out of array writes.

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