diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-18 01:42:14 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-23 11:23:29 +0100 |
commit | e772e253cbaa9cbbc55b8fd62e1e7534c4fab8d8 (patch) | |
tree | 89c03c2e830b77058d26ea486429961df0d48ddf /libavformat/vocenc.c | |
parent | ef3224c911cca43700f1df7fbee3741a320afe28 (diff) | |
download | ffmpeg-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/vocenc.c')
-rw-r--r-- | libavformat/vocenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vocenc.c b/libavformat/vocenc.c index 321b113032..bdc63843c4 100644 --- a/libavformat/vocenc.c +++ b/libavformat/vocenc.c @@ -106,6 +106,6 @@ AVOutputFormat ff_voc_muxer = { .write_header = voc_write_header, .write_packet = voc_write_packet, .write_trailer = voc_write_trailer, - .codec_tag = (const AVCodecTag* const []){ ff_voc_codec_tags, 0 }, + .codec_tag = ff_voc_codec_tags_list, .flags = AVFMT_NOTIMESTAMPS, }; |