[android-developers] unaligned memory access in ndk r5

2011-03-07 Thread Sun Ray-B17777
Hi All, I'm using ndk r5 to build my own video decoder projects and met failures calling Bus Error. The code is as below. m_uiNextBits = *m_pulStreamPacket++; m_uiNextBits is unsigned int, and m_ pulStreamPacket point to unsigned int array. I print the addr of the pointer and it's

[android-developers] unaligned memory access in ndk r5

2011-03-07 Thread Sun Ray-B17777
Hi All, I'm using ndk r5 to build my own video decoder projects and met failures calling Bus Error. The code is as below. m_uiNextBits = *m_pulStreamPacket++; m_uiNextBits is unsigned int, and m_ pulStreamPacket point to unsigned int array. I print the addr of the pointer and it's

[android-developers] unaligned memory access in ndk r5

2011-03-07 Thread Sun Ray-B17777
Hi All, I'm using ndk r5 to build my own video decoder projects and met failures calling Bus Error. The code is as below. m_uiNextBits = *m_pulStreamPacket++; m_uiNextBits is unsigned int, and m_ pulStreamPacket point to unsigned int array. I print the addr of the pointer and it's