Revision 3d94e3ba

View differences:

libavformat/mpeg.c
125 125

  
126 126
    if (c < 0)
127 127
        c = get_byte(pb);
128
    pts = (int64_t)((c >> 1) & 0x07) << 30;
128
    pts = (int64_t)(c & 0x0e) << 29;
129 129
    val = get_be16(pb);
130 130
    pts |= (int64_t)(val >> 1) << 15;
131 131
    val = get_be16(pb);

Also available in: Unified diff