diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-18 03:26:57 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-23 11:30:57 +0100 |
commit | 09e6d3a026d25840bf783cc7e6541976b765d1a3 (patch) | |
tree | b46d2a79b8b4d8924a2b155b2cb27c66a7a36ec4 /libavformat/riff.h | |
parent | 08b4a25ff9b325fd5f9866e9db22e55e61558305 (diff) | |
download | ffmpeg-09e6d3a026d25840bf783cc7e6541976b765d1a3.tar.gz |
avformat/avienc, wtvenc: Deduplicate codec tags list
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 127138d2bc..47dbaeafd1 100644 --- a/libavformat/riff.h +++ b/libavformat/riff.h @@ -72,6 +72,8 @@ int ff_get_wav_header(AVFormatContext *s, AVIOContext *pb, AVCodecParameters *pa extern const AVCodecTag ff_codec_bmp_tags[]; // exposed through avformat_get_riff_video_tags() 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[]; extern const AVCodecTag ff_codec_bmp_tags_unofficial[]; |