aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggparseflac.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-03-12 05:16:44 +0000
committerDavid Conrad <lessen42@gmail.com>2010-03-12 05:16:44 +0000
commitb53cde48bdc807fe5126eee7dc116812c6607974 (patch)
treeb336762104972379b9ac19793af70763c5f0bc47 /libavformat/oggparseflac.c
parente4d2d8c5d720d84997a24178acd9553f23077c03 (diff)
downloadffmpeg-b53cde48bdc807fe5126eee7dc116812c6607974.tar.gz
oggdec: Metadata is per-stream; don't merge multiple streams' together
Originally committed as revision 22473 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggparseflac.c')
-rw-r--r--libavformat/oggparseflac.c2
1 files changed, 1 insertions, 1 deletions
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;