OSDN Git Service

apngdec: use side data to pass extradata to the decoder
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 1 Nov 2016 16:06:51 +0000 (17:06 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 1 Nov 2016 17:49:28 +0000 (18:49 +0100)
commite0c6b32046f4bab7d34be77dd2f03b2a80c86d39
treeca51b513cd1526d253b1827be0c0062884916af6
parent9d83b209d8861f1daf55f6719b1e0c226ed7269a
apngdec: use side data to pass extradata to the decoder

Fixes remuxing apng streams coming from the apng demuxer.
This is a regression since 940b8908b94404a65f9f55e33efb4ccc6c81383c.

Found-by: James Almer <jamrial@gmail.com>
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/pngdec.c
libavformat/apngdec.c