{"action":"created","issue":{"url":"https://api.github.com/repos/FFMS/ffms2/issues/185","labels_url":"https://api.github.com/repos/FFMS/ffms2/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/FFMS/ffms2/issues/185/comments","events_url":"https://api.github.com/repos/FFMS/ffms2/issues/185/events","html_url":"https://github.com/FFMS/ffms2/issues/185","id":53006388,"number":185,"title":"FFMS_CreateVideoSource fails in files with many tracks","user":{"login":"nixxquality","id":2478713,"avatar_url":"https://avatars.githubusercontent.com/u/2478713?v=3","gravatar_id":"","url":"https://api.github.com/users/nixxquality","html_url":"https://github.com/nixxquality","followers_url":"https://api.github.com/users/nixxquality/followers","following_url":"https://api.github.com/users/nixxquality/following{/other_user}","gists_url":"https://api.github.com/users/nixxquality/gists{/gist_id}","starred_url":"https://api.github.com/users/nixxquality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nixxquality/subscriptions","organizations_url":"https://api.github.com/users/nixxquality/orgs","repos_url":"https://api.github.com/users/nixxquality/repos","events_url":"https://api.github.com/users/nixxquality/events{/privacy}","received_events_url":"https://api.github.com/users/nixxquality/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-12-28T18:25:59Z","updated_at":"2015-03-17T16:35:40Z","closed_at":null,"body":"When using the FFMS2 API and making a VideoSource in a file with >32 tracks, the operation fails even if the video track is among the first 32.\r\n\r\nThe error thrown is a ```(ErrorType = FFMS_ERROR_INDEX, SubType = FFMS_ERROR_INVALID_ARGUMENT)```\r\n\r\nExample file: http://www.nyaa.se/?page=view&tid=615715"},"comment":{"url":"https://api.github.com/repos/FFMS/ffms2/issues/comments/82456842","html_url":"https://github.com/FFMS/ffms2/issues/185#issuecomment-82456842","issue_url":"https://api.github.com/repos/FFMS/ffms2/issues/185","id":82456842,"user":{"login":"dwbuiten","id":1189609,"avatar_url":"https://avatars.githubusercontent.com/u/1189609?v=3","gravatar_id":"","url":"https://api.github.com/users/dwbuiten","html_url":"https://github.com/dwbuiten","followers_url":"https://api.github.com/users/dwbuiten/followers","following_url":"https://api.github.com/users/dwbuiten/following{/other_user}","gists_url":"https://api.github.com/users/dwbuiten/gists{/gist_id}","starred_url":"https://api.github.com/users/dwbuiten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwbuiten/subscriptions","organizations_url":"https://api.github.com/users/dwbuiten/orgs","repos_url":"https://api.github.com/users/dwbuiten/repos","events_url":"https://api.github.com/users/dwbuiten/events{/privacy}","received_events_url":"https://api.github.com/users/dwbuiten/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T16:35:39Z","updated_at":"2015-03-17T16:35:39Z","body":"Actually, it's likely due to:\r\n\r\n```C\r\nint IndexMask;\r\n```"}}