avcodec/pngdec: Fix padded alloc code with threads
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Aug 2013 14:06:05 +0000 (16:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Aug 2013 17:34:23 +0000 (19:34 +0200)
commit7b47d7f75e6f6c30a2b6a1158f56a511d810dc96
treeab5ece1dbf023da0b2765107fecba859ce4c0b50
parentd814a839ac117b480009cda9b50bccf7ea0f2f62
avcodec/pngdec: Fix padded alloc code with threads

Fixes Ticket2903
Fixes out of array write
no releases should be affected by this

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