Commit d433623f authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/pngdec: Fix alpha detection with skip_frame

Fixes Ticket4816
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 7abc8e7a
......@@ -1136,6 +1136,7 @@ static int decode_frame_common(AVCodecContext *avctx, PNGDecContext *s,
case MKTAG('p', 'H', 'Y', 's'):
case MKTAG('t', 'E', 'X', 't'):
case MKTAG('I', 'D', 'A', 'T'):
case MKTAG('t', 'R', 'N', 'S'):
break;
default:
goto skip_tag;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment