summaryrefslogtreecommitdiff
path: root/libavformat/omaenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-18 01:51:41 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-23 11:24:00 +0100
commit81a86c7e1ecf70ae63565ff86699959686753a2d (patch)
tree8c6b6d87fa2a288dce32151b193aa3ca04697594 /libavformat/omaenc.c
parentcccb7cf44ec718653bc977372adf69210c7e4ad6 (diff)
avformat/oma: Deduplicate codec tags list
Also saves a relocation. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/omaenc.c')
-rw-r--r--libavformat/omaenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/omaenc.c b/libavformat/omaenc.c
index 7952808bf8..d3c4f62027 100644
--- a/libavformat/omaenc.c
+++ b/libavformat/omaenc.c
@@ -102,6 +102,6 @@ AVOutputFormat ff_oma_muxer = {
.audio_codec = AV_CODEC_ID_ATRAC3,
.write_header = oma_write_header,
.write_packet = ff_raw_write_packet,
- .codec_tag = (const AVCodecTag* const []){ff_oma_codec_tags, 0},
+ .codec_tag = ff_oma_codec_tags_list,
.flags = AVFMT_NOTIMESTAMPS,
};