Closed fkaa closed 3 years ago
Using a caller-allocated buffer might be the best general solution, but happy to merge this as-is if its useful to you.
Thanks for the quick responses!
Letting the caller decide would probably be ideal, yeah. I'm currently hacking away without too much thought to performance, but I'll keep it in mind for future changes :o)
Adds a helper method
decode_nal
for easily getting rid of emulation bytes.