diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-18 03:43:13 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-23 11:30:57 +0100 |
commit | 1df1083b6c8cb2dcfa7bfd183b032ce4cabd69e6 (patch) | |
tree | a882b8d752753d8f8e0db0e54bfd36ee24159a83 /libavformat/wavdec.c | |
parent | 09e6d3a026d25840bf783cc7e6541976b765d1a3 (diff) |
avformat/wav: Deduplicate codec tags lists
Also saves relocations.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/wavdec.c')
-rw-r--r-- | libavformat/wavdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index ef144502a2..e99de8f6d3 100644 --- a/libavformat/wavdec.c +++ b/libavformat/wavdec.c @@ -821,7 +821,7 @@ AVInputFormat ff_wav_demuxer = { .read_packet = wav_read_packet, .read_seek = wav_read_seek, .flags = AVFMT_GENERIC_INDEX, - .codec_tag = (const AVCodecTag * const []) { ff_codec_wav_tags, 0 }, + .codec_tag = ff_wav_codec_tags_list, .priv_class = &wav_demuxer_class, }; #endif /* CONFIG_WAV_DEMUXER */ @@ -978,7 +978,7 @@ AVInputFormat ff_w64_demuxer = { .read_packet = wav_read_packet, .read_seek = wav_read_seek, .flags = AVFMT_GENERIC_INDEX, - .codec_tag = (const AVCodecTag * const []) { ff_codec_wav_tags, 0 }, + .codec_tag = ff_wav_codec_tags_list, .priv_class = &w64_demuxer_class, }; #endif /* CONFIG_W64_DEMUXER */ |