Better reference picture removal function encoder_state_remove_refs()
Better reference picture removal function encoder_state_remove_refs()

ultravideo/kvazaar,lu-zero/kvazaar,lu-zero/kvazaar,lu-zero/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar,lu-zero/kvazaar