summaryrefslogtreecommitdiff
path: root/bitstream.h
diff options
context:
space:
mode:
authorMikhail Burakov <mburakov@mailbox.org>2023-05-13 17:50:29 +0200
committerMikhail Burakov <mburakov@mailbox.org>2023-05-13 17:50:29 +0200
commit7c3b00f82eb5c79263d96b380e587e2c2530983c (patch)
tree15998c7ef5d3e505144f11a6849b8f987739ba02 /bitstream.h
parent149e1c8814d5d64eb7f24aaaf5ad10e9244eb302 (diff)
Add emulation prevention byte to bitstream implementation
Diffstat (limited to 'bitstream.h')
-rw-r--r--bitstream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitstream.h b/bitstream.h
index 87edec3..1520c57 100644
--- a/bitstream.h
+++ b/bitstream.h
@@ -31,4 +31,7 @@ void BitstreamAppendUE(struct Bitstream* bitstream, uint32_t bits);
void BitstreamAppendSE(struct Bitstream* bitstream, int32_t bits);
void BitstreamByteAlign(struct Bitstream* bitstream);
+void BitstreamInflate(struct Bitstream* bitstream,
+ const struct Bitstream* source);
+
#endif // STREAMER_BITSTREAM_H_