avcodec/pngdec: Store metadata directly into AVFrame
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 2 Feb 2017 20:48:05 +0000 (21:48 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 19 Feb 2017 14:39:36 +0000 (15:39 +0100)
commit2ac6eedac5e576bb98c9ba6573cfcd4782b175b0
treebdbb164f46d965a34c122e308603e992d558d994
parent3206ea4ba31ebf446a3c4f1220adb895b3272c15
avcodec/pngdec: Store metadata directly into AVFrame

Fixes memleak
Fixes: 500/clusterfuzz-testcase-6315221727576064

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/pngdec.c