lavc: Add coded bitstream read/write support for MPEG-2

Also enable MPEG-2 support in the trace_headers filter.
This commit is contained in:
Mark Thompson 2017-05-04 23:03:03 +01:00
parent 768eb9182e
commit 2bc9ba8d3c
9 changed files with 975 additions and 2 deletions

View file

@ -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,