-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
Hi,
I am using the OpenH264 decoder with the NXP MIMXRT1176 controller. I have successfully integrated the OpenH264 library, but the code encounters a Usage Fault in the WelsDecodeBs() function at the following line:
ST16(pDstNal + iDstIdx, 0);
Here, ST16 is defined as: #define ST16(a, b) ((uint16_t)(a)) = (b)
In this case, pDstNal is of type uint8_t*, and iDstIdx is a uint32_t offset. The fault likely occurs due to unaligned memory access, as the uint16_t write may not be aligned on a 2-byte boundary.
Also, could you please advise how much RAM memory is typically required for OpenH264 decoding? My custom board has 16 MB of SDRAM, and I want to ensure that is sufficient for reliable decoding.
Best regards,
Pavanakumar
Metadata
Metadata
Assignees
Labels
No labels