]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/ilbc.c
avfilter/vf_identity: fix typo
[ffmpeg] / libavformat / ilbc.c
index c778f5a5af87b6c74ee162a15d2cf3c5dff0ff29..efa5339089e6860a2d220efa2ace48aa6929171a 100644 (file)
@@ -112,7 +112,7 @@ static int ilbc_read_packet(AVFormatContext *s,
     return 0;
 }
 
-AVInputFormat ff_ilbc_demuxer = {
+const AVInputFormat ff_ilbc_demuxer = {
     .name         = "ilbc",
     .long_name    = NULL_IF_CONFIG_SMALL("iLBC storage"),
     .read_probe   = ilbc_probe,
@@ -121,7 +121,8 @@ AVInputFormat ff_ilbc_demuxer = {
     .flags        = AVFMT_GENERIC_INDEX,
 };
 
-AVOutputFormat ff_ilbc_muxer = {
+#if CONFIG_ILBC_MUXER
+const AVOutputFormat ff_ilbc_muxer = {
     .name         = "ilbc",
     .long_name    = NULL_IF_CONFIG_SMALL("iLBC storage"),
     .mime_type    = "audio/iLBC",
@@ -131,3 +132,4 @@ AVOutputFormat ff_ilbc_muxer = {
     .write_packet = ff_raw_write_packet,
     .flags        = AVFMT_NOTIMESTAMPS,
 };
+#endif