)]}'
{
  "commit": "77d197e635f52d0eaf4a9f2d6aecfd38b065265a",
  "tree": "bf1ddcf33be8921bf06a9fd9b602a747d4383c91",
  "parents": [
    "436a6cc4e72cbe9bcc403b07129241fbedd935d7"
  ],
  "author": {
    "name": "Geza Lore",
    "email": "gezalore@gmail.com",
    "time": "Thu Apr 14 14:26:03 2016 +0100"
  },
  "committer": {
    "name": "Geza Lore",
    "email": "gezalore@gmail.com",
    "time": "Fri Apr 15 11:17:22 2016 +0100"
  },
  "message": "Fix segfault with --cpu-used \u003e\u003d 3 and ext-refs.\n\nWith ext-ref enabled, it is possible that when trying to encode the\nfirst true ALTREF frame after a keyframe, the previous ALTREF frame\n(alias for the keyframe) is the same as one of the new LAST{2,3,4}\nreference frames, and hence cpi-\u003eref_frame_flags will have the ALTREF\nbit clear, as computed by get_ref_frame_flags in encoder.c.\n\nsf-\u003ealt_ref_search_fp forces the previous ALTREF frame to\nbe used as the only possible  reference when encoding a new ALTREF\nframe, but due to cpi-\u003eref_frame_flags, some buffers will not be\ninitialized (see rdopt.c:7689 yv12_mb), leading to a segfault.\n\nget_ref_frame_flags in encoder.c has been changed to prefer to keep\nthe  LAST frame, then the ALTREF frame, then any of the LAST{2,3,4}\nframes and then the GOLDEN frame in that order of preference in case\nany of them are the same. This avoids the segfault and behaves the\nsame for the baseline.\n\nChange-Id: I4da1991667614009da5d3061a6316c0d5dbc6c0c\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b34b15eb9467ac5b52dd6e7c5d833f2d25697b2d",
      "old_mode": 33188,
      "old_path": "vp10/encoder/encoder.c",
      "new_id": "2cff98ce5a78056b41eebf2d8845a42ef5e5b988",
      "new_mode": 33188,
      "new_path": "vp10/encoder/encoder.c"
    },
    {
      "type": "modify",
      "old_id": "0fde965b5beb206a0963c5539e882e2d9b058c34",
      "old_mode": 33188,
      "old_path": "vp10/encoder/rdopt.c",
      "new_id": "9deb0f4e550d584c70f4448cba66730e070d0554",
      "new_mode": 33188,
      "new_path": "vp10/encoder/rdopt.c"
    }
  ]
}
