avformat/apngenc: use the stream parameters extradata if available
authorJames Almer <jamrial@gmail.com>
Fri, 18 Nov 2016 15:21:54 +0000 (12:21 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 18 Nov 2016 15:26:44 +0000 (12:26 -0300)
commit50e0e96f3f8ed57443707289a621446cef0fe367
tree0d2f28a093630810f4a4fa2c1646ae6447414df0
parent16c429166ddf1736972b6ccce84bd3509ec16a34
avformat/apngenc: use the stream parameters extradata if available

Fixes remuxing apng streams coming from the apng demuxer, which sends extradata
during init.

Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/apngenc.c
tests/lavf-regression.sh
tests/ref/lavf/apng