summaryrefslogtreecommitdiff
path: root/libavdevice/alsa_enc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-19 18:56:01 +0200
committerJames Almer <jamrial@gmail.com>2021-04-27 11:48:05 -0300
commitd92f38c179591a608390ffa9fee59c309142e79d (patch)
tree5a19f61c32bc9010b0ed319a8ef625aa41f87ba9 /libavdevice/alsa_enc.c
parenta04ad248a05e7b613abe09b3bb067f555108d794 (diff)
downloadffmpeg-d92f38c179591a608390ffa9fee59c309142e79d.tar.gz
avdevice: Constify all devices
This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavdevice/alsa_enc.c')
-rw-r--r--libavdevice/alsa_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/alsa_enc.c b/libavdevice/alsa_enc.c
index 1a6d01e3b1..a783d8eca1 100644
--- a/libavdevice/alsa_enc.c
+++ b/libavdevice/alsa_enc.c
@@ -157,7 +157,7 @@ static const AVClass alsa_muxer_class = {
.category = AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT,
};
-AVOutputFormat ff_alsa_muxer = {
+const AVOutputFormat ff_alsa_muxer = {
.name = "alsa",
.long_name = NULL_IF_CONFIG_SMALL("ALSA audio output"),
.priv_data_size = sizeof(AlsaData),