audio_core: hle: mf: fix a regression...

... where the sample copying logic is incorrect due to the wrong usage
of `std::array`
This commit is contained in:
liushuyu 2019-02-08 21:22:14 -07:00 committed by B3N30
parent 6332e57069
commit c91f5029ff
3 changed files with 7 additions and 5 deletions

View file

@ -16,8 +16,8 @@ struct ADTSData {
u32 samplerate;
};
ADTSData ParseADTS(char* buffer);
ADTSData ParseADTS(const char* buffer);
// last two bytes of MF AAC decoder user data
// see https://docs.microsoft.com/en-us/windows/desktop/medfound/aac-decoder#example-media-types
u16 MFGetAACTag(ADTSData input);
u16 MFGetAACTag(const ADTSData input);