mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
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>
This commit is contained in:
parent
652add3a6d
commit
f780e07149
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user