diff options
author | Anton Khirnov <wyskas@gmail.com> | 2010-10-15 19:04:25 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-15 19:04:25 +0000 |
commit | 03700d399bcc749ad7916f2d39a99527f37c8b6e (patch) | |
tree | 20d22335ebef2e37679f6e3c71d1e264c1e38fe5 /libavformat/id3v2.c | |
parent | ed09233fa2b081e3f60c02267fe9d17e0bb45396 (diff) | |
download | ffmpeg-03700d399bcc749ad7916f2d39a99527f37c8b6e.tar.gz |
Export metadata in the generic format. Deprecate old conversion API.
patch by Anton Khirnov anton _at_ khirnov _dot_ net
Originally committed as revision 25493 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/id3v2.c')
-rw-r--r-- | libavformat/id3v2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index 364720f380..fbcb8f86ba 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -23,6 +23,7 @@ #include "id3v1.h" #include "libavutil/avstring.h" #include "libavutil/intreadwrite.h" +#include "metadata.h" int ff_id3v2_match(const uint8_t *buf, const char * magic) { @@ -249,6 +250,7 @@ void ff_id3v2_parse(AVFormatContext *s, int len, uint8_t version, uint8_t flags) /* Skip to end of tag */ url_fseek(s->pb, next, SEEK_SET); } + metadata_conv(&s->metadata, NULL, ff_id3v2_metadata_conv); if (len > 0) { /* Skip padding */ |