diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-18 03:43:13 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-23 11:30:57 +0100 |
commit | 1df1083b6c8cb2dcfa7bfd183b032ce4cabd69e6 (patch) | |
tree | a882b8d752753d8f8e0db0e54bfd36ee24159a83 /libavformat/riff.h | |
parent | 09e6d3a026d25840bf783cc7e6541976b765d1a3 (diff) | |
download | ffmpeg-1df1083b6c8cb2dcfa7bfd183b032ce4cabd69e6.tar.gz |
avformat/wav: Deduplicate codec tags lists
Also saves relocations.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/riff.h')
-rw-r--r-- | libavformat/riff.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/riff.h b/libavformat/riff.h index 47dbaeafd1..0548279c6b 100644 --- a/libavformat/riff.h +++ b/libavformat/riff.h @@ -74,6 +74,8 @@ extern const AVCodecTag ff_codec_bmp_tags[]; // exposed through avformat_get_rif extern const AVCodecTag ff_codec_wav_tags[]; /* The following list contains both ff_codec_bmp_tags and ff_codec_wav_tags. */ extern const AVCodecTag *const ff_riff_codec_tags_list[]; +/* The following list contains only ff_codec_wav_tags. */ +extern const AVCodecTag *const ff_wav_codec_tags_list[]; extern const AVCodecTag ff_codec_bmp_tags_unofficial[]; |