avcodec/g2meet: fix stride calculation, use correct format field
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 26 Nov 2013 22:27:21 +0000 (23:27 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 26 Nov 2013 23:10:23 +0000 (00:10 +0100)
commit83f7bd6dcf00875725c5f3b7e1bedac5a6b3c77d
tree7e07cb5f8e88a798e6aa360571954ab9f9343fe9
parent70433119691042eaa646adab5903c2302a42fc22
avcodec/g2meet: fix stride calculation, use correct format field

Fixes out of array accesses
Fixes: asan_heap-oob_ae5f63_5415_g2m4.wmv
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/g2meet.c