summaryrefslogtreecommitdiff
path: root/libavcodec/hap.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/hap.h')
-rw-r--r--libavcodec/hap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/hap.h b/libavcodec/hap.h
index f36d09a6cd..8840851fd7 100644
--- a/libavcodec/hap.h
+++ b/libavcodec/hap.h
@@ -57,6 +57,8 @@ typedef struct HapContext {
uint8_t *snappied; /* Buffer interacting with snappy */
size_t max_snappy; /* Maximum compressed size for snappy buffer */
+ int slice_size; /* Optimal slice size */
+
/* Pointer to the selected compress or decompress function */
int (*tex_fun)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
} HapContext;