{"action":"created","issue":{"url":"https://api.github.com/repos/wangds/libflic/issues/1","repository_url":"https://api.github.com/repos/wangds/libflic","labels_url":"https://api.github.com/repos/wangds/libflic/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/wangds/libflic/issues/1/comments","events_url":"https://api.github.com/repos/wangds/libflic/issues/1/events","html_url":"https://github.com/wangds/libflic/issues/1","id":183803138,"number":1,"title":"FlicFileWriter fails to encode files with exactly 1 frame.","user":{"login":"wangds","id":3016108,"avatar_url":"https://avatars.githubusercontent.com/u/3016108?v=3","gravatar_id":"","url":"https://api.github.com/users/wangds","html_url":"https://github.com/wangds","followers_url":"https://api.github.com/users/wangds/followers","following_url":"https://api.github.com/users/wangds/following{/other_user}","gists_url":"https://api.github.com/users/wangds/gists{/gist_id}","starred_url":"https://api.github.com/users/wangds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangds/subscriptions","organizations_url":"https://api.github.com/users/wangds/orgs","repos_url":"https://api.github.com/users/wangds/repos","events_url":"https://api.github.com/users/wangds/events{/privacy}","received_events_url":"https://api.github.com/users/wangds/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-18T21:06:39Z","updated_at":"2016-10-18T21:06:56Z","closed_at":"2016-10-18T21:06:56Z","body":"In commit 024417e101c2b496c27b005bc60e8e5022f53e99 src/flic.rs:324,\r\nthe inequality:\r\n\r\n    if self.hdr.frame_count <= 2 {\r\n        return Err(FlicError::Corrupted);\r\n    }\r\n\r\nshould read:\r\n\r\n    if self.hdr.frame_count < 2 {\r\n        return Err(FlicError::Corrupted);\r\n    }\r\n\r\nThe bug causes it to fail when attempting to encode a FLIC file with exactly\r\n1 frame + 1 ring frame."},"comment":{"url":"https://api.github.com/repos/wangds/libflic/issues/comments/254639486","html_url":"https://github.com/wangds/libflic/issues/1#issuecomment-254639486","issue_url":"https://api.github.com/repos/wangds/libflic/issues/1","id":254639486,"user":{"login":"wangds","id":3016108,"avatar_url":"https://avatars.githubusercontent.com/u/3016108?v=3","gravatar_id":"","url":"https://api.github.com/users/wangds","html_url":"https://github.com/wangds","followers_url":"https://api.github.com/users/wangds/followers","following_url":"https://api.github.com/users/wangds/following{/other_user}","gists_url":"https://api.github.com/users/wangds/gists{/gist_id}","starred_url":"https://api.github.com/users/wangds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangds/subscriptions","organizations_url":"https://api.github.com/users/wangds/orgs","repos_url":"https://api.github.com/users/wangds/repos","events_url":"https://api.github.com/users/wangds/events{/privacy}","received_events_url":"https://api.github.com/users/wangds/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T21:06:56Z","updated_at":"2016-10-18T21:06:56Z","body":"Fixed in commit df1b5eee58532ec453a992c52245ca052ce7effd."}}
{"actor":{"display_login":"wangds"}}