diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-04-07 16:55:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-04-07 17:01:58 +0200 |
commit | 054ce5f786f0bff2491bda5497850d2390621176 (patch) | |
tree | 0578ea523a685bb2b709bf4f8c34bafe24259014 | |
parent | 1719c7f5db233a7efb2b55d7299d30f32061499b (diff) | |
download | ffmpeg-054ce5f786f0bff2491bda5497850d2390621176.tar.gz |
avformat/ilbc: Add missing #if for muxer
Fixes: building without muxers
Fixes: 21594
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/ilbc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/ilbc.c b/libavformat/ilbc.c index c778f5a5af..188c0f091a 100644 --- a/libavformat/ilbc.c +++ b/libavformat/ilbc.c @@ -121,6 +121,7 @@ AVInputFormat ff_ilbc_demuxer = { .flags = AVFMT_GENERIC_INDEX, }; +#if CONFIG_ILBC_MUXER AVOutputFormat ff_ilbc_muxer = { .name = "ilbc", .long_name = NULL_IF_CONFIG_SMALL("iLBC storage"), @@ -131,3 +132,4 @@ AVOutputFormat ff_ilbc_muxer = { .write_packet = ff_raw_write_packet, .flags = AVFMT_NOTIMESTAMPS, }; +#endif |