]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/oggenc.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / oggenc.c
index f5032759a649f137b725e265cd6507b391c8b75c..af27957c757fcabb4cfb35270f8f898204f35a65 100644 (file)
@@ -745,7 +745,7 @@ static void ogg_free(AVFormatContext *s)
 
 #if CONFIG_OGG_MUXER
 OGG_CLASS(ogg, Ogg)
-AVOutputFormat ff_ogg_muxer = {
+const AVOutputFormat ff_ogg_muxer = {
     .name              = "ogg",
     .long_name         = NULL_IF_CONFIG_SMALL("Ogg"),
     .mime_type         = "application/ogg",
@@ -776,7 +776,7 @@ AVOutputFormat ff_ogg_muxer = {
 
 #if CONFIG_OGA_MUXER
 OGG_CLASS(oga, Ogg audio)
-AVOutputFormat ff_oga_muxer = {
+const AVOutputFormat ff_oga_muxer = {
     .name              = "oga",
     .long_name         = NULL_IF_CONFIG_SMALL("Ogg Audio"),
     .mime_type         = "audio/ogg",
@@ -795,7 +795,7 @@ AVOutputFormat ff_oga_muxer = {
 
 #if CONFIG_OGV_MUXER
 OGG_CLASS(ogv, Ogg video)
-AVOutputFormat ff_ogv_muxer = {
+const AVOutputFormat ff_ogv_muxer = {
     .name              = "ogv",
     .long_name         = NULL_IF_CONFIG_SMALL("Ogg Video"),
     .mime_type         = "video/ogg",
@@ -817,7 +817,7 @@ AVOutputFormat ff_ogv_muxer = {
 
 #if CONFIG_SPX_MUXER
 OGG_CLASS(spx, Ogg Speex)
-AVOutputFormat ff_spx_muxer = {
+const AVOutputFormat ff_spx_muxer = {
     .name              = "spx",
     .long_name         = NULL_IF_CONFIG_SMALL("Ogg Speex"),
     .mime_type         = "audio/ogg",
@@ -836,7 +836,7 @@ AVOutputFormat ff_spx_muxer = {
 
 #if CONFIG_OPUS_MUXER
 OGG_CLASS(opus, Ogg Opus)
-AVOutputFormat ff_opus_muxer = {
+const AVOutputFormat ff_opus_muxer = {
     .name              = "opus",
     .long_name         = NULL_IF_CONFIG_SMALL("Ogg Opus"),
     .mime_type         = "audio/ogg",