summaryrefslogtreecommitdiff
path: root/libavformat/bit.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-09-29 18:31:18 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-09-29 18:31:18 +0200
commit44bdb88811a40673aaef5f82e63705857bd0bfe6 (patch)
treefa32fea56b345f63ef0358273037e80497a95dd2 /libavformat/bit.c
parent792b1629a8818fa778ddea37342f4ba4eaf2ba47 (diff)
lavf/bit: Only build the G.729 bit demuxer if requested.
Fix the condition for the G.729 bit muxer.
Diffstat (limited to 'libavformat/bit.c')
-rw-r--r--libavformat/bit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/bit.c b/libavformat/bit.c
index c3f2fdfbe3..c703412f1c 100644
--- a/libavformat/bit.c
+++ b/libavformat/bit.c
@@ -29,6 +29,7 @@
#define BIT_0 0x7f
#define BIT_1 0x81
+#if CONFIG_BIT_DEMUXER
static int probe(AVProbeData *p)
{
int i, j;
@@ -113,8 +114,9 @@ AVInputFormat ff_bit_demuxer = {
.read_packet = read_packet,
.extensions = "bit",
};
+#endif
-#if CONFIG_MUXERS
+#if CONFIG_BIT_MUXER
static int write_header(AVFormatContext *s)
{
AVCodecParameters *par = s->streams[0]->codecpar;