The nalu project contains helper functionality for parsing Annex B H264 streams.
The main functionality is located in these header files:
The library is header-only, so you just need to set the include path to use it.
See the unit tests in
test/src/ for usage/API examples.