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, 7 Jan 2014 02:05:30 +0000 (03:05 +0100)
commit1ecd1b4aeeb419fda0320458207991b95b4da543
tree5b417a029179b4cc41a71d75708856522b4345f0
parent04a4c4144ade592c97f82f016af85903300f2a47
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>
(cherry picked from commit 83f7bd6dcf00875725c5f3b7e1bedac5a6b3c77d)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/g2meet.c