Revision e110e968 libavformat/matroskadec.c

View differences:

libavformat/matroskadec.c
1734 1734
                int offset = 0, pkt_size = lace_size[n];
1735 1735
                uint8_t *pkt_data = data;
1736 1736

  
1737
                if (lace_size[n] > size) {
1737
                if (pkt_size > size) {
1738 1738
                    av_log(matroska->ctx, AV_LOG_ERROR, "Invalid packet size\n");
1739 1739
                    break;
1740 1740
                }

Also available in: Unified diff