summaryrefslogtreecommitdiff
path: root/libavformat/riff.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-18 03:43:13 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-23 11:30:57 +0100
commit1df1083b6c8cb2dcfa7bfd183b032ce4cabd69e6 (patch)
treea882b8d752753d8f8e0db0e54bfd36ee24159a83 /libavformat/riff.c
parent09e6d3a026d25840bf783cc7e6541976b765d1a3 (diff)
avformat/wav: Deduplicate codec tags lists
Also saves relocations. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/riff.c')
-rw-r--r--libavformat/riff.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/riff.c b/libavformat/riff.c
index eee78c229c..270ff7c024 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -596,6 +596,10 @@ const AVCodecTag *const ff_riff_codec_tags_list[] = {
};
#endif
+#if CONFIG_WAV_DEMUXER || CONFIG_WAV_MUXER || CONFIG_W64_DEMUXER || CONFIG_W64_MUXER
+const AVCodecTag *const ff_wav_codec_tags_list[] = { ff_codec_wav_tags, NULL };
+#endif
+
const AVMetadataConv ff_riff_info_conv[] = {
{ "IART", "artist" },
{ "ICMT", "comment" },