avcodec/pngdec: check for stream end in png_decode_idat()
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Sep 2013 00:08:04 +0000 (02:08 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Sep 2013 00:17:36 +0000 (02:17 +0200)
commit65bf9a44d7b0295e03463fd143499ab5b85d0cb7
treed5d21d163e78011e849a7fbf914b019da0a7f851
parentbb4b041df351e49a0fa16007fb4505adea0836d8
avcodec/pngdec: check for stream end in png_decode_idat()

Fix infinite loop
Fix Ticket2978

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