summaryrefslogtreecommitdiff
path: root/libavcodec/cbs.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-03-11 17:27:15 +0000
committerMark Thompson <sw@jkqxz.net>2018-03-18 17:55:00 +0000
commit84bb8327f571c4924789413efafde47d96b8b72b (patch)
treecb4891e50a6d1047ca8c59811fb2201406f4836e /libavcodec/cbs.h
parent94d42cb4cc6e420c80abbf54148be1578f7c3244 (diff)
cbs: Add a table of all supported codec IDs
Use it as the set of codec IDs supported by the trace_headers BSF.
Diffstat (limited to 'libavcodec/cbs.h')
-rw-r--r--libavcodec/cbs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/cbs.h b/libavcodec/cbs.h
index 396ff0faec..402eb39e00 100644
--- a/libavcodec/cbs.h
+++ b/libavcodec/cbs.h
@@ -202,6 +202,14 @@ typedef struct CodedBitstreamContext {
/**
+ * Table of all supported codec IDs.
+ *
+ * Terminated by AV_CODEC_ID_NONE.
+ */
+extern const enum AVCodecID ff_cbs_all_codec_ids[];
+
+
+/**
* Create and initialise a new context for the given codec.
*/
int ff_cbs_init(CodedBitstreamContext **ctx,