aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-05-14 16:18:25 +0100
committerMark Thompson <sw@jkqxz.net>2017-10-17 20:56:29 +0100
commitb4c915f4b3e15c3e787e319b961e4389762f6309 (patch)
treef5291743bc8e77250b0e45b9ab570612516850aa /libavcodec/cbs.c
parent6734eef6b8b464139fdc140ec9bc9e8d74173869 (diff)
downloadffmpeg-b4c915f4b3e15c3e787e319b961e4389762f6309.tar.gz
lavc: Add coded bitstream read/write support for H.264
(cherry picked from commit acf06f45441be24c5cbae0920579cd69427326a1) (cherry picked from commit 768eb9182e94a94bc2ef46f565a0dac7afef3b57) (cherry picked from commit e7f64191b27bcf37cbf7006606f0f439c6cdc24f)
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 fa68040cfa..f489d9806f 100644
--- a/libavcodec/cbs.c
+++ b/libavcodec/cbs.c
@@ -28,6 +28,9 @@
static const CodedBitstreamType *cbs_type_table[] = {
+#if CONFIG_CBS_H264
+ &ff_cbs_type_h264,
+#endif
};
int ff_cbs_init(CodedBitstreamContext **ctx_ptr,