]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/oss_dec.c
avdevice: Constify all devices
[ffmpeg] / libavdevice / oss_dec.c
index 13ace7000d1441bb49ba7cf9a5deeb6d0a47881f..34efb6b18448cbb6ed3f5e0f2493335343a8797e 100644 (file)
@@ -132,7 +132,7 @@ static const AVClass oss_demuxer_class = {
     .category       = AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT,
 };
 
-AVInputFormat ff_oss_demuxer = {
+const AVInputFormat ff_oss_demuxer = {
     .name           = "oss",
     .long_name      = NULL_IF_CONFIG_SMALL("OSS (Open Sound System) capture"),
     .priv_data_size = sizeof(OSSAudioData),