summaryrefslogtreecommitdiff
path: root/libavformat/vocdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-18 01:42:14 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-23 11:23:29 +0100
commite772e253cbaa9cbbc55b8fd62e1e7534c4fab8d8 (patch)
tree89c03c2e830b77058d26ea486429961df0d48ddf /libavformat/vocdec.c
parentef3224c911cca43700f1df7fbee3741a320afe28 (diff)
downloadffmpeg-e772e253cbaa9cbbc55b8fd62e1e7534c4fab8d8.tar.gz
avformat/voc: Deduplicate codec tags list
Also saves a relocation. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/vocdec.c')
-rw-r--r--libavformat/vocdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vocdec.c b/libavformat/vocdec.c
index d388fce92e..6cdc720ee7 100644
--- a/libavformat/vocdec.c
+++ b/libavformat/vocdec.c
@@ -106,5 +106,5 @@ AVInputFormat ff_voc_demuxer = {
.read_header = voc_read_header,
.read_packet = voc_read_packet,
.read_seek = voc_read_seek,
- .codec_tag = (const AVCodecTag* const []){ ff_voc_codec_tags, 0 },
+ .codec_tag = ff_voc_codec_tags_list,
};