mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
lavf/bit: Only build the G.729 bit demuxer if requested.
Fix the condition for the G.729 bit muxer.
This commit is contained in:
parent
792b1629a8
commit
44bdb88811
@ -29,6 +29,7 @@
|
|||||||
#define BIT_0 0x7f
|
#define BIT_0 0x7f
|
||||||
#define BIT_1 0x81
|
#define BIT_1 0x81
|
||||||
|
|
||||||
|
#if CONFIG_BIT_DEMUXER
|
||||||
static int probe(AVProbeData *p)
|
static int probe(AVProbeData *p)
|
||||||
{
|
{
|
||||||
int i, j;
|
int i, j;
|
||||||
@ -113,8 +114,9 @@ AVInputFormat ff_bit_demuxer = {
|
|||||||
.read_packet = read_packet,
|
.read_packet = read_packet,
|
||||||
.extensions = "bit",
|
.extensions = "bit",
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
#if CONFIG_MUXERS
|
#if CONFIG_BIT_MUXER
|
||||||
static int write_header(AVFormatContext *s)
|
static int write_header(AVFormatContext *s)
|
||||||
{
|
{
|
||||||
AVCodecParameters *par = s->streams[0]->codecpar;
|
AVCodecParameters *par = s->streams[0]->codecpar;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user