Mercurial > libavformat.hg
diff oggdec.h @ 5032:3aabdadf9d5f libavformat
Add a VorbisComment metadata conversion table and use it in the FLAC and
Ogg demuxers.
author | jbr |
---|---|
date | Sat, 13 Jun 2009 22:45:58 +0000 |
parents | 42098ccb51ab |
children | 5de92e352cf9 |
line wrap: on
line diff
--- a/oggdec.h Sat Jun 13 22:29:38 2009 +0000 +++ b/oggdec.h Sat Jun 13 22:45:58 2009 +0000 @@ -26,6 +26,7 @@ #define AVFORMAT_OGGDEC_H #include "avformat.h" +#include "metadata.h" struct ogg_codec { const int8_t *magic; @@ -91,6 +92,8 @@ extern const struct ogg_codec ff_theora_codec; extern const struct ogg_codec ff_vorbis_codec; +extern const AVMetadataConv ff_vorbiscomment_metadata_conv[]; + int vorbis_comment(AVFormatContext *ms, uint8_t *buf, int size); #endif /* AVFORMAT_OGGDEC_H */