Skip to content

Commit 69185ce

Browse files
committed
Fix arith-dynamic encoding of files stored using X_CAT
Fixes #144 Authored-by: Michael Macias
1 parent d109295 commit 69185ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

htscodecs/arith_dynamic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,7 @@ unsigned char *arith_compress_to(unsigned char *in, unsigned int in_size,
759759
}
760760
memcpy(out+c_meta_len, in, in_size);
761761
*out_size = in_size+c_meta_len;
762+
return out;
762763
}
763764

764765
if (order & X_STRIPE) {

0 commit comments

Comments
 (0)