Revision 6ae38aa3

View differences:

libavformat/mpegts.c
802 802
             * a couple of seconds to milliseconds for properly muxed files.
803 803
             * total_size is the number of bytes following pes_packet_length
804 804
             * in the pes header, i.e. not counting the first 6 bytes */
805
            if (pes->total_size < MAX_PES_PAYLOAD &&
805
            if (!ts->stop_parse && pes->total_size < MAX_PES_PAYLOAD &&
806 806
                pes->pes_header_size + pes->data_index == pes->total_size + 6) {
807 807
                ts->stop_parse = 1;
808 808
                new_pes_packet(pes, ts->pkt);

Also available in: Unified diff