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/avienc.c | |
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/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index cf2e1d601d..b4521cd6ef 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -378,9 +378,9 @@ static int avi_write_header(AVFormatContext *s) list2 = ff_start_tag(pb, "LIST"); ffio_wfourcc(pb, "INFO"); - ff_metadata_conv(&s->metadata, ff_avi_metadata_conv, NULL); - for (i = 0; *ff_avi_tags[i]; i++) { - if ((t = av_dict_get(s->metadata, ff_avi_tags[i], NULL, AV_DICT_MATCH_CASE))) + ff_metadata_conv(&s->metadata, ff_riff_info_conv, NULL); + for (i = 0; *ff_riff_tags[i]; i++) { + if ((t = av_dict_get(s->metadata, ff_riff_tags[i], NULL, AV_DICT_MATCH_CASE))) avi_write_info_tag(s->pb, t->key, t->value); } ff_end_tag(pb, list2); |