summaryrefslogtreecommitdiff
path: root/src/encode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/encode.h')
-rw-r--r--src/encode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/encode.h b/src/encode.h
index 36cfcd4..cc5af20 100644
--- a/src/encode.h
+++ b/src/encode.h
@@ -120,6 +120,9 @@ struct internal_state {
* depending on whether the block has a reference sample or not */
int ref;
+ /* reference sample stored here for performance reasons */
+ uint32_t ref_sample;
+
/* current zero block has a reference sample */
int zero_ref;