avcodec/pngdec: Copy IHDR & plte state from last thread
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 29 Jun 2015 19:59:41 +0000 (21:59 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 29 Jun 2015 20:16:58 +0000 (22:16 +0200)
commitf1ffa01dd3dad983481bf05ec47246e7ec0c8932
tree7129141fcbce434986c267213347611536ecd97f
parenta1736926e9ae51706b537776722e816a4d1f6b36
avcodec/pngdec: Copy IHDR & plte state from last thread

Previously these chunks where parsed again for each frame with threads
but not without leading to a different path and the potential for
inconsistencies

This also removes a related special case from decode_ihdr_chunk()

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