avcodec/pngdec: Calculate MPNG bytewidth more defensively
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 15:54:21 +0000 (17:54 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 16:29:13 +0000 (18:29 +0200)
commit9806028fbba5dc7a2af6dd5b0a08057180cccc79
treeb97e520aeda7f2cac80ad609f9efee038b1c0c27
parent433e15bb873f7ba54d8895de7e74c43205551084
avcodec/pngdec: Calculate MPNG bytewidth more defensively

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e830902934a29df05c7af65aef2a480b15f572c4)

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