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/oggparsevorbis.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/oggparsevorbis.c')
-rw-r--r-- | libavformat/oggparsevorbis.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c index c7f8149a23..9f873934c4 100644 --- a/libavformat/oggparsevorbis.c +++ b/libavformat/oggparsevorbis.c @@ -29,6 +29,7 @@ #include "libavcodec/bytestream.h" #include "avformat.h" #include "oggdec.h" +#include "vorbiscomment.c" static int ogm_chapter(AVFormatContext *as, uint8_t *key, uint8_t *val) { @@ -137,6 +138,8 @@ ff_vorbis_comment(AVFormatContext * as, AVMetadata **m, const uint8_t *buf, int av_log(as, AV_LOG_INFO, "truncated comment header, %i comments not found\n", n); + metadata_conv(m, NULL, ff_vorbiscomment_metadata_conv); + return 0; } |