1
0
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:
Andreas Rheinhardt 2023-06-29 20:16:14 +02:00
parent 652add3a6d
commit f780e07149

View File

@ -93,7 +93,7 @@ static int ac4_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret; return ret;
} }
AVInputFormat ff_ac4_demuxer = { const AVInputFormat ff_ac4_demuxer = {
.name = "ac4", .name = "ac4",
.long_name = NULL_IF_CONFIG_SMALL("raw AC-4"), .long_name = NULL_IF_CONFIG_SMALL("raw AC-4"),
.read_probe = ac4_probe, .read_probe = ac4_probe,