Commit ef3224c9 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avformat/caf: Deduplicate codec tags list

Also saves a relocation.
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
parent c50c8591
......@@ -78,3 +78,4 @@ const AVCodecTag ff_codec_caf_tags[] = {
{ AV_CODEC_ID_NONE, 0 },
};
const AVCodecTag *const ff_caf_codec_tags_list[] = { ff_codec_caf_tags, NULL };
......@@ -30,5 +30,6 @@
#include "internal.h"
extern const AVCodecTag ff_codec_caf_tags[];
extern const AVCodecTag *const ff_caf_codec_tags_list[];
#endif /* AVFORMAT_CAF_H */
......@@ -460,5 +460,5 @@ AVInputFormat ff_caf_demuxer = {
.read_header = read_header,
.read_packet = read_packet,
.read_seek = read_seek,
.codec_tag = (const AVCodecTag* const []){ ff_codec_caf_tags, 0 },
.codec_tag = ff_caf_codec_tags_list,
};
......@@ -274,5 +274,5 @@ AVOutputFormat ff_caf_muxer = {
.write_header = caf_write_header,
.write_packet = caf_write_packet,
.write_trailer = caf_write_trailer,
.codec_tag = (const AVCodecTag* const []){ff_codec_caf_tags, 0},
.codec_tag = ff_caf_codec_tags_list,
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment