summaryrefslogtreecommitdiff
path: root/libavcodec/cbs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/cbs.h')
-rw-r--r--libavcodec/cbs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/cbs.h b/libavcodec/cbs.h
index 3a054aa8f3..635921b11e 100644
--- a/libavcodec/cbs.h
+++ b/libavcodec/cbs.h
@@ -237,6 +237,11 @@ int ff_cbs_init(CodedBitstreamContext **ctx,
enum AVCodecID codec_id, void *log_ctx);
/**
+ * Reset all internal state in a context.
+ */
+void ff_cbs_flush(CodedBitstreamContext *ctx);
+
+/**
* Close a context and free all internal state.
*/
void ff_cbs_close(CodedBitstreamContext **ctx);