diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-03-11 20:27:15 +0300 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-03-18 20:55:00 +0300 |
commit | 84bb8327f571c4924789413efafde47d96b8b72b (patch) | |
tree | cb4891e50a6d1047ca8c59811fb2201406f4836e /libavcodec/cbs.h | |
parent | 94d42cb4cc6e420c80abbf54148be1578f7c3244 (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.h | 8 |
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, |