Needed for AV1. v2 changes: moved ref_frame_sign_bias to the CodedBitstreamAV1Context structure Patch attached.