[FFmpeg-cvslog] avformat/ilbc: Add missing #if for muxer
Michael Niedermayer
git at videolan.org
Tue Apr 7 18:02:34 EEST 2020
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Apr 7 16:55:41 2020 +0200| [054ce5f786f0bff2491bda5497850d2390621176] | committer: 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/ffmpeg
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=054ce5f786f0bff2491bda5497850d2390621176
---
libavformat/ilbc.c | 2 ++
1 file changed, 2 insertions(+)
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
More information about the ffmpeg-cvslog
mailing list