{"action":"opened","issue":{"url":"https://api.github.com/repos/daddesio/utkencode/issues/1","repository_url":"https://api.github.com/repos/daddesio/utkencode","labels_url":"https://api.github.com/repos/daddesio/utkencode/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/daddesio/utkencode/issues/1/comments","events_url":"https://api.github.com/repos/daddesio/utkencode/issues/1/events","html_url":"https://github.com/daddesio/utkencode/issues/1","id":357434927,"node_id":"MDU6SXNzdWUzNTc0MzQ5Mjc=","number":1,"title":"Error decoding some rev3 files","user":{"login":"bnnm","id":22844311,"node_id":"MDQ6VXNlcjIyODQ0MzEx","avatar_url":"https://avatars0.githubusercontent.com/u/22844311?v=4","gravatar_id":"","url":"https://api.github.com/users/bnnm","html_url":"https://github.com/bnnm","followers_url":"https://api.github.com/users/bnnm/followers","following_url":"https://api.github.com/users/bnnm/following{/other_user}","gists_url":"https://api.github.com/users/bnnm/gists{/gist_id}","starred_url":"https://api.github.com/users/bnnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnnm/subscriptions","organizations_url":"https://api.github.com/users/bnnm/orgs","repos_url":"https://api.github.com/users/bnnm/repos","events_url":"https://api.github.com/users/bnnm/events{/privacy}","received_events_url":"https://api.github.com/users/bnnm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-05T23:03:40Z","updated_at":"2018-09-05T23:03:40Z","closed_at":null,"author_association":"NONE","body":"Hi, I found some rev3 files that don't decode properly (SSX3 PS2). They seem to read past a frame, making the PCM offset/count values fail.\r\n\r\nFiles are EA .bnk format (similar to SCxl without blocks). Actual MicroTalk data in .bnk starts at 0x50. To facilitate testing I've made a couple of fake .utk with data from the .bnk  (since this fix is mainly for vgmstream, it's not important that utkencode supports .bnk). When `utkdecode.c` decodes using `utk_rev3_decode_frame`, one .utk decodes properly and other doesn't.\r\n\r\nSamples: [utk-rev3-bug.zip](https://github.com/daddesio/utkencode/files/2354823/utk-rev3-bug.zip)\r\n\r\nIn Bear1.utk, frame fails at 0x20 (data start) + 0x3be. It should read up to 0x20+0x3da (where PCM offset/count start), but instead reads up to 0x20+0x3fe. Bitstream seems fairly complex, so I don't know what could be failing.\r\n\r\nThanks!"}}
{"actor":{"display_login":"bnnm"}}