From b53cde48bdc807fe5126eee7dc116812c6607974 Mon Sep 17 00:00:00 2001 From: David Conrad Date: Fri, 12 Mar 2010 05:16:44 +0000 Subject: oggdec: Metadata is per-stream; don't merge multiple streams' together Originally committed as revision 22473 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/oggparseflac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/oggparseflac.c') diff --git a/libavformat/oggparseflac.c b/libavformat/oggparseflac.c index 36b2345aa6..9a9ca7ead7 100644 --- a/libavformat/oggparseflac.c +++ b/libavformat/oggparseflac.c @@ -68,7 +68,7 @@ flac_header (AVFormatContext * s, int idx) st->time_base.num = 1; st->time_base.den = st->codec->sample_rate; } else if (mdt == FLAC_METADATA_TYPE_VORBIS_COMMENT) { - ff_vorbis_comment (s, os->buf + os->pstart + 4, os->psize - 4); + ff_vorbis_comment (s, &st->metadata, os->buf + os->pstart + 4, os->psize - 4); } return 1; -- cgit v1.2.3