]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/oss_dec.c
avdevice: Constify all devices
[ffmpeg] / libavdevice / oss_dec.c
index d0dc327dc62731127417429e89f7dd8d5ee03a0a..34efb6b18448cbb6ed3f5e0f2493335343a8797e 100644 (file)
@@ -125,14 +125,14 @@ static const AVOption options[] = {
 };
 
 static const AVClass oss_demuxer_class = {
-    .class_name     = "OSS demuxer",
+    .class_name     = "OSS indev",
     .item_name      = av_default_item_name,
     .option         = options,
     .version        = LIBAVUTIL_VERSION_INT,
     .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),