mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue