summaryrefslogtreecommitdiff
path: root/libavformat/ac4dec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-06-29 20:16:14 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-06-29 20:22:58 +0200
commitf780e07149bc3aec592e74c5eb2ee6acaa719127 (patch)
treeba0384d970209df8499a36b10b69b570f5d53cca /libavformat/ac4dec.c
parent652add3a6d675a568eb7564d85434712829b03d3 (diff)
avformat/ac4dec: Constify demuxer
The discrepancy between the definition and the declaration in allformats.c is actually UB. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/ac4dec.c')
-rw-r--r--libavformat/ac4dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ac4dec.c b/libavformat/ac4dec.c
index eb7bbaa655..71950f52dc 100644
--- a/libavformat/ac4dec.c
+++ b/libavformat/ac4dec.c
@@ -93,7 +93,7 @@ static int ac4_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
-AVInputFormat ff_ac4_demuxer = {
+const AVInputFormat ff_ac4_demuxer = {
.name = "ac4",
.long_name = NULL_IF_CONFIG_SMALL("raw AC-4"),
.read_probe = ac4_probe,