)]}'
{
  "commit": "971bf454490c6e58c4907acb30b03d2d3cc2e15d",
  "tree": "207a25559d27a2327e41c248b335d7fec087dbfc",
  "parents": [
    "e46f3f2bdf8b96cc80aeaf4c2e42a6011f42334f"
  ],
  "author": {
    "name": "Satheesh Kumar",
    "email": "satheesh.kumar@ittiam.com",
    "time": "Mon Dec 04 15:47:33 2023 +0530"
  },
  "committer": {
    "name": "Wan-Teh Chang",
    "email": "wtc@google.com",
    "time": "Thu Dec 07 19:35:11 2023 +0000"
  },
  "message": "Separate allocation of src_diff buffer for ST and MT encode paths\n\nIn fp_prepare_enc_workers(), during the copy of MACROBLOCK structure\nfrom main thread (cpi-\u003etd.mb) to worker threads (thread_data-\u003etd-\u003emb),\nthe thread-specific \"src_diff\" buffers get initialized with that of\nthe main thread. If the allocation of thread-specific \"src_diff\" buffer\nfails, it will result in a double free error in free_thread_data() as\nthe buffer of main thread would have already been freed in\ndealloc_compressor_data() during encoder_destroy().\n\nThis CL fixes this issue by allocating the \u0027src_diff\u0027 buffer\nseparately for ST encode in first_pass_tiles() and MT encode\nin fp_prepare_enc_workers().\n\nBug: aomedia:3276\nChange-Id: I4f7d99c814a87fade140a460914dea2d367666eb\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7654864410854530b30df25e95a0d5f4c7d89ade",
      "old_mode": 33188,
      "old_path": "av1/encoder/encodeframe_utils.c",
      "new_id": "949837184aab54fcb7ce83e710b15d5ddfc2d369",
      "new_mode": 33188,
      "new_path": "av1/encoder/encodeframe_utils.c"
    },
    {
      "type": "modify",
      "old_id": "8bf73e7a7e3949a3a421855493397c3ca54364e3",
      "old_mode": 33188,
      "old_path": "av1/encoder/ethread.c",
      "new_id": "acd24362e87e55e4a13d2729e3a08e2da7b4f3d4",
      "new_mode": 33188,
      "new_path": "av1/encoder/ethread.c"
    },
    {
      "type": "modify",
      "old_id": "7ddc3e3874ad8230653a724b57c2615173905add",
      "old_mode": 33188,
      "old_path": "av1/encoder/firstpass.c",
      "new_id": "50e6ecbc38a4f83b277a65199f4c9bb26a7008d0",
      "new_mode": 33188,
      "new_path": "av1/encoder/firstpass.c"
    }
  ]
}
