diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2017-09-29 18:31:18 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2017-09-29 18:31:18 +0200 |
commit | 44bdb88811a40673aaef5f82e63705857bd0bfe6 (patch) | |
tree | fa32fea56b345f63ef0358273037e80497a95dd2 | |
parent | 792b1629a8818fa778ddea37342f4ba4eaf2ba47 (diff) | |
download | ffmpeg-44bdb88811a40673aaef5f82e63705857bd0bfe6.tar.gz |
lavf/bit: Only build the G.729 bit demuxer if requested.
Fix the condition for the G.729 bit muxer.
-rw-r--r-- | libavformat/bit.c | 4 |
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; |