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>
Thu, 17 Nov 2016 22:12:29 +0000 (23:12 +0100)
commit3e33685892f9b276472587d00c54c6cf6fd15ef2
treebb1c8843959bb2e0e5095e74433f4f6391423dd1
parentd95568f9a2d3c2d96265086db0a995b60f45b528
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>
(cherry picked from commit e0c6b32046f4bab7d34be77dd2f03b2a80c86d39)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/pngdec.c
libavformat/apngdec.c