diff options
author | Victor Vasiliev <vasilvv@gmail.com> | 2011-11-25 00:02:43 +0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-11-26 17:14:13 -0800 |
commit | 12bc20502ad9124b4d922985b82edc45aa4064cb (patch) | |
tree | 15ced8ece39bde08672521de853c9e4137b34130 /libavformat/riff.h | |
parent | 3f5aa7dfa64c8757e5eef7b1bf870ec754e40f96 (diff) | |
download | ffmpeg-12bc20502ad9124b4d922985b82edc45aa4064cb.tar.gz |
Generalize RIFF INFO tag support; support reading INFO tag in wav
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/riff.h')
-rw-r--r-- | libavformat/riff.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/riff.h b/libavformat/riff.h index a2fa8b7b1c..3bd309f86b 100644 --- a/libavformat/riff.h +++ b/libavformat/riff.h @@ -31,6 +31,10 @@ #include "libavcodec/avcodec.h" #include "avio.h" #include "internal.h" +#include "metadata.h" + +extern const AVMetadataConv ff_riff_info_conv[]; +extern const char ff_riff_tags[][5]; int64_t ff_start_tag(AVIOContext *pb, const char *tag); void ff_end_tag(AVIOContext *pb, int64_t start); @@ -54,4 +58,6 @@ unsigned int ff_codec_get_tag(const AVCodecTag *tags, enum CodecID id); enum CodecID ff_codec_get_id(const AVCodecTag *tags, unsigned int tag); void ff_parse_specific_params(AVCodecContext *stream, int *au_rate, int *au_ssize, int *au_scale); +int ff_read_riff_info(AVFormatContext *s, int64_t size); + #endif /* AVFORMAT_RIFF_H */ |