diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-03-11 17:27:15 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-03-18 17:55:00 +0000 |
commit | 84bb8327f571c4924789413efafde47d96b8b72b (patch) | |
tree | cb4891e50a6d1047ca8c59811fb2201406f4836e /libavcodec/trace_headers_bsf.c | |
parent | 94d42cb4cc6e420c80abbf54148be1578f7c3244 (diff) | |
download | ffmpeg-84bb8327f571c4924789413efafde47d96b8b72b.tar.gz |
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/trace_headers_bsf.c')
-rw-r--r-- | libavcodec/trace_headers_bsf.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavcodec/trace_headers_bsf.c b/libavcodec/trace_headers_bsf.c index 0697e98943..94a3ef72a2 100644 --- a/libavcodec/trace_headers_bsf.c +++ b/libavcodec/trace_headers_bsf.c @@ -107,18 +107,11 @@ static int trace_headers(AVBSFContext *bsf, AVPacket *pkt) return 0; } -static const enum AVCodecID trace_headers_codec_ids[] = { - AV_CODEC_ID_H264, - AV_CODEC_ID_HEVC, - AV_CODEC_ID_MPEG2VIDEO, - AV_CODEC_ID_NONE, -}; - const AVBitStreamFilter ff_trace_headers_bsf = { .name = "trace_headers", .priv_data_size = sizeof(TraceHeadersContext), .init = &trace_headers_init, .close = &trace_headers_close, .filter = &trace_headers, - .codec_ids = trace_headers_codec_ids, + .codec_ids = ff_cbs_all_codec_ids, }; |