diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-05-04 23:03:03 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-08-20 13:59:17 +0100 |
commit | 2bc9ba8d3c41f3a8e56484bd67b05040c7909a01 (patch) | |
tree | ad36ef5c3031d186127ae114bebccbc045c376de /libavcodec/cbs.c | |
parent | 768eb9182e94a94bc2ef46f565a0dac7afef3b57 (diff) | |
download | ffmpeg-2bc9ba8d3c41f3a8e56484bd67b05040c7909a01.tar.gz |
lavc: Add coded bitstream read/write support for MPEG-2
Also enable MPEG-2 support in the trace_headers filter.
Diffstat (limited to 'libavcodec/cbs.c')
-rw-r--r-- | libavcodec/cbs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/cbs.c b/libavcodec/cbs.c index b5d5dfd2fd..10943164da 100644 --- a/libavcodec/cbs.c +++ b/libavcodec/cbs.c @@ -34,6 +34,9 @@ static const CodedBitstreamType *cbs_type_table[] = { #if CONFIG_CBS_H265 &ff_cbs_type_h265, #endif +#if CONFIG_CBS_MPEG2 + &ff_cbs_type_mpeg2, +#endif }; int ff_cbs_init(CodedBitstreamContext *ctx, |