cbs: Add a table of all supported codec IDs

Use it as the set of codec IDs supported by the trace_headers BSF.
This commit is contained in:
Mark Thompson
2018-03-11 17:27:15 +00:00
parent 94d42cb4cc
commit 84bb8327f5
4 changed files with 23 additions and 9 deletions

View File

@@ -201,6 +201,14 @@ typedef struct CodedBitstreamContext {
} 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.
*/