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/nutdec.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/nutdec.c')
-rw-r--r-- | libavformat/nutdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index fa1cb188d7..f8eda4f660 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -656,6 +656,8 @@ static int nut_read_header(AVFormatContext *s, AVFormatParameters *ap) } assert(nut->next_startcode == SYNCPOINT_STARTCODE); + ff_metadata_conv_ctx(s, NULL, ff_nut_metadata_conv); + return 0; } @@ -931,7 +933,6 @@ AVInputFormat nut_demuxer = { nut_read_close, read_seek, .extensions = "nut", - .metadata_conv = ff_nut_metadata_conv, .codec_tag = (const AVCodecTag * const []) { ff_codec_bmp_tags, ff_nut_video_tags, ff_codec_wav_tags, ff_nut_subtitle_tags, 0 }, }; #endif |