avcodec/pngenc: Fix mixed up linesizes
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Jan 2016 23:57:00 +0000 (00:57 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Jan 2016 02:38:43 +0000 (03:38 +0100)
commit8f4c3e4b92212d98f5b9ca2dee13e076effe9589
tree37220eaf007b20c4c4db52d8219cfd61934a470a
parent7ec9c5ce8a753175244da971fed9f1e25aef7971
avcodec/pngenc: Fix mixed up linesizes

Fixes out of array accesses
Fixes: 0cf176e6d3ab9fe924f39738e513f547/asan_generic_4a54aa_3431_aaa28be1cb32e307a9890cad06f84fba.avi

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/pngenc.c