Commit 054ce5f7 authored by Michael Niedermayer's avatar Michael Niedermayer

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/ffmpegSigned-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 1719c7f5
...@@ -121,6 +121,7 @@ AVInputFormat ff_ilbc_demuxer = { ...@@ -121,6 +121,7 @@ AVInputFormat ff_ilbc_demuxer = {
.flags = AVFMT_GENERIC_INDEX, .flags = AVFMT_GENERIC_INDEX,
}; };
#if CONFIG_ILBC_MUXER
AVOutputFormat ff_ilbc_muxer = { AVOutputFormat ff_ilbc_muxer = {
.name = "ilbc", .name = "ilbc",
.long_name = NULL_IF_CONFIG_SMALL("iLBC storage"), .long_name = NULL_IF_CONFIG_SMALL("iLBC storage"),
...@@ -131,3 +132,4 @@ AVOutputFormat ff_ilbc_muxer = { ...@@ -131,3 +132,4 @@ AVOutputFormat ff_ilbc_muxer = {
.write_packet = ff_raw_write_packet, .write_packet = ff_raw_write_packet,
.flags = AVFMT_NOTIMESTAMPS, .flags = AVFMT_NOTIMESTAMPS,
}; };
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment