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>
pull/336/head
Michael Niedermayer 5 years ago
parent 1719c7f5db
commit 054ce5f786
  1. 2
      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

Loading…
Cancel
Save