)]}'
{
  "commit": "f131b785938e96995e4ef8d8baaefca8f974afb9",
  "tree": "5616902fa635641d7ffef5052f6b512816a73f67",
  "parents": [
    "a4b47bba1e9ded2538b80fdd12806d8840ca63e6"
  ],
  "author": {
    "name": "Joe Drago",
    "email": "jdrago@netflix.com",
    "time": "Tue Sep 21 16:52:39 2021 -0700"
  },
  "committer": {
    "name": "Joe Drago",
    "email": "joedrago@gmail.com",
    "time": "Thu Sep 23 13:46:28 2021 -0700"
  },
  "message": "Redesign AVIF_DECODER_SOURCE_AUTO to honor the FileTypeBox\u0027s major brand\n\nWhen using AVIF_DECODER_SOURCE_AUTO, use the major_brand field in the FileTypeBox (\u0027ftyp\u0027) in the\nbeginning of the file as a hint to whether or not to treat this file as an AVIF sequence or an\nitems-based single image.\n\nIn practice (and currently in the field), this won\u0027t change pre-existing behavior as the vast\nmajority of AVIFs in existence right now are single images and signal the major brand \u0027avif\u0027\nanyway, and sequences generated by avifenc have always used the major brand \u0027avis\u0027.\n\nThis design is more in the spirit of ISO-BMFF Section 4.3\u0027s explanation of major_brand:\n\n    Files would normally be externally identified (e.g. with a file extension or mime type) that\n    identifies the ‘best use’ (major brand), or the brand that the author believes will provide the\n    greatest compatibility.\n\nThis also would allow for currently unexercised use-cases such as \"live photos\", where an AVIF can\ninternally hold an image sequence recorded by a camera, but suggest (via the major brand) to only\ndisplay it as a single image, specifying one of the frame samples as an item.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e4f01c63cf6c9784af4c095b76bd9dcb3397b532",
      "old_mode": 33188,
      "old_path": "include/avif/avif.h",
      "new_id": "5c492d6dbae02a718bd56bf8db757aeb7c095175",
      "new_mode": 33188,
      "new_path": "include/avif/avif.h"
    },
    {
      "type": "modify",
      "old_id": "e35bcb23cd7cdb715d84c39a9d03cdeb21433577",
      "old_mode": 33188,
      "old_path": "src/read.c",
      "new_id": "68784fe2ad366c69c8a6560594e9b04b0f29f1c9",
      "new_mode": 33188,
      "new_path": "src/read.c"
    }
  ]
}
