Commit f780e071 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avformat/ac4dec: Constify demuxer

The discrepancy between the definition and the declaration
in allformats.c is actually UB.
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 652add3a
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment