56 return (start_code & 0xFFFFFF00) == 0x100;
80 uint32_t *start_code);
99 uint32_t * start_code);
These functions are rewritten copies from FFmpeg's libavcodec, where find_start_code() is prefixed wi...
bool start_code_is_valid(uint32_t start_code)
Test whether a start code found by find_start_code() is valid.
MTV_PUBLIC const uint8_t * find_start_code(const uint8_t *p, const uint8_t *end, uint32_t *start_code)
Find the first start code in the buffer p.
MTV_PUBLIC const uint8_t * find_start_code_truncated(const uint8_t *p, const uint8_t *end, uint32_t *start_code)
By preserving the start_code value between subsequent calls, the caller can detect start codes across...