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>
This commit is contained in:
Michael Niedermayer 2020-04-07 16:55:41 +02:00
parent 1719c7f5db
commit 054ce5f786

View File

@ -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