aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-05-04 23:03:03 +0100
committerMark Thompson <sw@jkqxz.net>2017-10-17 20:56:29 +0100
commit686e388bbb6aeef077095a83f84b53d143d44d63 (patch)
treecfcd19745c52c01c4ecba66863e818d349f5ab59 /libavcodec/cbs.c
parent9b0c7aa0e446eceec96ba8f4009e004fad29fba3 (diff)
downloadffmpeg-686e388bbb6aeef077095a83f84b53d143d44d63.tar.gz
lavc: Add coded bitstream read/write support for MPEG-2
(cherry picked from commit 2bc9ba8d3c41f3a8e56484bd67b05040c7909a01) (cherry picked from commit a41b69b5eb950c10d8ede472bcc4e88ce4246db9)
Diffstat (limited to 'libavcodec/cbs.c')
-rw-r--r--libavcodec/cbs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/cbs.c b/libavcodec/cbs.c
index d7eb3033c4..97ab520c22 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_ptr,