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.c | |
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.c')
-rw-r--r-- | libavformat/riff.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/riff.c b/libavformat/riff.c index 388047fc4b..eee78c229c 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include "libavutil/error.h" #include "libavcodec/avcodec.h" #include "avformat.h" @@ -589,6 +590,12 @@ const AVCodecTag ff_codec_wav_tags[] = { { AV_CODEC_ID_NONE, 0 }, }; +#if CONFIG_AVI_MUXER || CONFIG_WTV_MUXER +const AVCodecTag *const ff_riff_codec_tags_list[] = { + ff_codec_bmp_tags, ff_codec_wav_tags, NULL +}; +#endif + const AVMetadataConv ff_riff_info_conv[] = { { "IART", "artist" }, { "ICMT", "comment" }, |