src/main/java/org/jcodec/containers/mps/MTSUtils.java
@Deprecated
    public static int parsePAT(ByteBuffer data) {
        PATSection pat = PATSection.parsePAT(data);
        if (pat.getPrograms().size() > 0)
            return pat.getPrograms().values()[0];
        else
            return -1;
    }
@Deprecated
    public static int parsePAT(ByteBuffer data) {
        PATSection pat = PATSection.parsePAT(data);
        if (pat.getPrograms().size() > 0)
            return pat.getPrograms().values()[0];
        else
            return -1;
    }
Parses PAT ( Program Association Table )

@param data
@deprecated Use org.jcodec.containers.mps.psi.PAT.parse method instead,
this method will not work correctly for streams with multiple
programs
@return Pid of the first PMT found in the PAT