{"action":"closed","issue":{"url":"https://api.github.com/repos/mstorsjo/fdk-aac/issues/17","labels_url":"https://api.github.com/repos/mstorsjo/fdk-aac/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/mstorsjo/fdk-aac/issues/17/comments","events_url":"https://api.github.com/repos/mstorsjo/fdk-aac/issues/17/events","html_url":"https://github.com/mstorsjo/fdk-aac/issues/17","id":38831333,"number":17,"title":"assertion failure in GetInvInt() for 96kHz input + AACENC_BITRATEMODE: 5","user":{"login":"nu774","id":489444,"avatar_url":"https://avatars.githubusercontent.com/u/489444?v=3","gravatar_id":"","url":"https://api.github.com/users/nu774","html_url":"https://github.com/nu774","followers_url":"https://api.github.com/users/nu774/followers","following_url":"https://api.github.com/users/nu774/following{/other_user}","gists_url":"https://api.github.com/users/nu774/gists{/gist_id}","starred_url":"https://api.github.com/users/nu774/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nu774/subscriptions","organizations_url":"https://api.github.com/users/nu774/orgs","repos_url":"https://api.github.com/users/nu774/repos","events_url":"https://api.github.com/users/nu774/events{/privacy}","received_events_url":"https://api.github.com/users/nu774/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-07-27T03:13:22Z","updated_at":"2015-01-07T19:38:09Z","closed_at":"2015-01-07T19:38:09Z","body":"As the title says, when trying to encode 96kHz input with AACENC_BITRATEMODE: 5 (VBR), fdk-aac crashes with an assertion failure.\r\nStack trace is as follows:\r\n```\r\nGetInvInt(int intValue=54)  Line 459 + 0x27 bytes\r\nFDKaacEnc_prepareIntensityDecision(const long * sfbEnergyLeft=0x00dcfa1c, const long * sfbEnergyRight=0x00dd0750, const long * sfbEnergyLdDataLeft=0x00dbee58, const long * sfbEnergyLdDataRight=0x00dc13a8, const long * mdctSpectrumLeft=0x00dbcdb8, const long * mdctSpectrumRight=0x00dbf308, const INTENSITY_PARAMETERS * isParams=0x0038ddb8, long * hrrErr=0x0038dfcc, int * isMask=0x0038dcc0, long * realScale=0x0038dddc, long * normSfbLoudness=0x0038ded4, const int sfbCnt=48, const int sfbPerGroup=12, const int maxSfbPerGroup=12, const int * sfbOffset=0x00dd0470)  Line 331 + 0x21 bytes\r\nFDKaacEnc_IntensityStereoProcessing(long * sfbEnergyLeft=0x00dcfa1c, long * sfbEnergyRight=0x00dd0750, long * mdctSpectrumLeft=0x00dbcdb8, long * mdctSpectrumRight=0x00dbf308, long * sfbThresholdLeft=0x00dcf83c, long * sfbThresholdRight=0x00dd0570, long * sfbThresholdLdDataRight=0x00dc11c8, long * sfbSpreadEnLeft=0x00dd028c, long * sfbSpreadEnRight=0x00dd0fc0, long * sfbEnergyLdDataLeft=0x00dbee58, long * sfbEnergyLdDataRight=0x00dc13a8, int * msDigest=0x00de82dc, int * msMask=0x00de82e0, const int sfbCnt=48, const int sfbPerGroup=12, const int maxSfbPerGroup=12, const int * sfbOffset=0x00dd0470, const int allowIS=1, int * isBook=0x00de4d68, int * isScale=0x00de4e58, PNS_DATA * * pnsData=0x0038ec74)  Line 629 + 0x50 bytes\r\nFDKaacEnc_psyMain(int channels=2, PSY_ELEMENT * psyElement=0x0017ffa0, PSY_DYNAMIC * psyDynamic=0x00dcf838, PSY_CONFIGURATION * psyConf=0x00dd1be8, PSY_OUT_ELEMENT * psyOutElement=0x00de82d0, short * pInput=0x00d80068, int * chIdx=0x00dbcc8c, int totalChannels=2)  Line 1249 + 0x111 bytes\r\nFDKaacEnc_EncodeFrame(AAC_ENC * hAacEnc=0x00dbcc68, TRANSPORTENC * hTpEnc=0x00df7b08, short * inputBuffer=0x00d80068, int * nOutBytes=0x0038f180, AACENC_EXT_PAYLOAD * extPayload=0x001761bc)  Line 744 + 0x5a bytes\r\naacEncEncode(AACENCODER * const hAacEncoder=0x001760b0, const AACENC_BufDesc * inBufDesc=0x0038f36c, const AACENC_BufDesc * outBufDesc=0x0038f350, const AACENC_InArgs * inargs=0x0038f340, AACENC_OutArgs * outargs=0x0038f32c)  Line 1632 + 0x30 bytes\r\n\r\n```"}}