/* * RIFF common functions and data * Copyright (c) 2000 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include <stddef.h> #include "config.h" #include "config_components.h" #include "libavutil/macros.h" #include "avformat.h" #include "internal.h" #include "metadata.h" #include "riff.h" /* Note: When encoding, the first matching tag is used, so order is * important if multiple tags are possible for a given codec. * Note also that this list is used for more than just riff, other * files use it as well. */ const AVCodecTag ff_codec_bmp_tags[] = …; const AVCodecTag ff_codec_bmp_tags_unofficial[] = …; const AVCodecTag ff_codec_wav_tags[] = …; #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 #if CONFIG_WAV_DEMUXER || CONFIG_WAV_MUXER || CONFIG_W64_DEMUXER || CONFIG_W64_MUXER const AVCodecTag *const ff_wav_codec_tags_list[] = …; #endif const AVMetadataConv ff_riff_info_conv[] = …; const struct AVCodecTag *avformat_get_riff_video_tags(void) { … } const struct AVCodecTag *avformat_get_riff_audio_tags(void) { … } const AVCodecGuid ff_codec_wav_guids[] = …;