]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/bit.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / bit.c
index 2dc7d4f3f70b3d09535ec786185a679e4779b264..380cbd37cdb7b706894e68f077062e4e1d0a3c1a 100644 (file)
@@ -109,7 +109,7 @@ static int read_packet(AVFormatContext *s,
     return 0;
 }
 
-AVInputFormat ff_bit_demuxer = {
+const AVInputFormat ff_bit_demuxer = {
     .name        = "bit",
     .long_name   = NULL_IF_CONFIG_SMALL("G.729 BIT file format"),
     .read_probe  = probe,
@@ -155,7 +155,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
     return 0;
 }
 
-AVOutputFormat ff_bit_muxer = {
+const AVOutputFormat ff_bit_muxer = {
     .name         = "bit",
     .long_name    = NULL_IF_CONFIG_SMALL("G.729 BIT file format"),
     .mime_type    = "audio/bit",