Updating the way bit-flags are extracted from the frame header to be faster.