Use more descriptive variable names
Avoid using one-letter variable names, especially in relatively complex functions.
Remove comment
Get rid of a commented console.assert that had been replaced by a runtime conditional anyways.
Add a real-work ExpGolomb test
Make sure that a reasonable sequence parameter set can be decoded.
Simply emulation byte filtering
The original algorithm was incorrectly including the nal_unit_type in the returned RBSP when there were no emulation bytes to filter. This version is slower because it examines every byte individually but it's simpler to understand. Add a test case for H264 stream parsing that demonstrates the issue.
Display a tag-level overview for the generated FLVs
List the type and size of each tag of the input FLVs on the muxing helper page.