Revision 617c4616

View differences:

libavformat/mpegts.c
925 925
                    code = pes->header[3] | 0x100;
926 926
                    dprintf(pes->stream, "pid=%x pes_code=%#x\n", pes->pid, code);
927 927

  
928
                    if ((pes->st && pes->st->discard == AVDISCARD_ALL) ||
928
                    if ((!pes->st && pes->stream->nb_streams == MAX_STREAMS) ||
929
                        (pes->st && pes->st->discard == AVDISCARD_ALL) ||
929 930
                        code == 0x1be) /* padding_stream */
930 931
                        goto skip;
931 932

  

Also available in: Unified diff