Revision 0c904db1

View differences:

libavformat/mpeg.c
78 78
    for(i=0; i<p->buf_size; i++){
79 79
        code = (code<<8) + p->buf[i];
80 80
        if ((code & 0xffffff00) == 0x100) {
81
            int pes= check_pes(p->buf+i, p->buf+i+p->buf_size);
81
            int pes= check_pes(p->buf+i, p->buf+p->buf_size);
82 82

  
83 83
            if(code == SYSTEM_HEADER_START_CODE) sys++;
84 84
            else if(code == PRIVATE_STREAM_1)    priv1++;

Also available in: Unified diff