lavc: Add coded bitstream read/write support for MPEG-2
[ffmpeg.git] / libavcodec / cbs.c
index fa68040cfa0aa05a17fea55320e02fcc720196b4..97ab520c22ae58f0b08da2c20b796a69ecb469b9 100644 (file)
 
 
 static const CodedBitstreamType *cbs_type_table[] = {
+#if CONFIG_CBS_H264
+    &ff_cbs_type_h264,
+#endif
+#if CONFIG_CBS_H265
+    &ff_cbs_type_h265,
+#endif
+#if CONFIG_CBS_MPEG2
+    &ff_cbs_type_mpeg2,
+#endif
 };
 
 int ff_cbs_init(CodedBitstreamContext **ctx_ptr,