]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/pngdec.c
avcodec/bmp_parser: Ensure remaining_size is not too small in startcode packet crossi...
[ffmpeg] / libavcodec / pngdec.c
index 61857d0e5ca65057291e5a676dd3cd5acb4447ce..24318fbeaff35755343924199c0d81752cfdc06b 100644 (file)
@@ -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;