avcodec/pngdec: Replace assert by request for sample for unsupported TRNS cases
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 16 Nov 2015 17:34:44 +0000 (18:34 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 26 Nov 2015 15:06:39 +0000 (16:06 +0100)
commit71a31133330330ebb4db7498a95185c436f59c83
tree2bf447ffe420c9c6af05b95781248e806dad2444
parent859a6edaed63b48c96a644c593ec89f57c211e04
avcodec/pngdec: Replace assert by request for sample for unsupported TRNS cases

Fixes assertion failure
Fixes: 7f646252a30ee28b583aac1f82e7985e/signal_sigabrt_7ffff6ae7cc9_7353_62fc077bf2f454d39e188c69807193a6.png

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit a62178be80dd6a643973f62002fc0ed42495c358)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/pngdec.c