[FFmpeg-cvslog] lavf/bit: Only build the G.729 bit demuxer if requested.
Carl Eugen Hoyos
git at videolan.org
Fri Sep 29 19:34:59 EEST 2017
ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Fri Sep 29 18:31:18 2017 +0200| [44bdb88811a40673aaef5f82e63705857bd0bfe6] | committer: Carl Eugen Hoyos
lavf/bit: Only build the G.729 bit demuxer if requested.
Fix the condition for the G.729 bit muxer.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=44bdb88811a40673aaef5f82e63705857bd0bfe6
---
libavformat/bit.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list