[PR #98] [MERGED] Align distance code meaning in the brotli encoder. #703

Closed
opened 2026-01-29 20:50:26 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/98
Author: @szabadka
Created: 5/7/2015
Status: Merged
Merged: 5/7/2015
Merged by: @szabadka

Base: masterHead: master


📝 Commits (1)

  • 12eb9bf Align distance code meaning in the brotli encoder.

📊 Changes

3 files changed (+11 additions, -11 deletions)

View changed files

📝 enc/backward_references.cc (+8 -7)
📝 enc/command.h (+3 -3)
📝 enc/prefix.h (+0 -1)

📄 Description

Two different definitions (offset by 1) were used in
command.h and hash.h. Now they have been made the same,
also consistent with the spec (e.g. 0 means use previous dist, etc...)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/98 **Author:** [@szabadka](https://github.com/szabadka) **Created:** 5/7/2015 **Status:** ✅ Merged **Merged:** 5/7/2015 **Merged by:** [@szabadka](https://github.com/szabadka) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`12eb9bf`](https://github.com/google/brotli/commit/12eb9bfd705b8c1dde0fd592055258e461cd5e5f) Align distance code meaning in the brotli encoder. ### 📊 Changes **3 files changed** (+11 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `enc/backward_references.cc` (+8 -7) 📝 `enc/command.h` (+3 -3) 📝 `enc/prefix.h` (+0 -1) </details> ### 📄 Description Two different definitions (offset by 1) were used in command.h and hash.h. Now they have been made the same, also consistent with the spec (e.g. 0 means use previous dist, etc...) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:50:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#703