OSDN Git Service

Ogg: discard non-essential metadata from Vorbis header when creating extradata
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 31 Jan 2011 19:16:38 +0000 (19:16 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 2 Feb 2011 02:40:48 +0000 (03:40 +0100)
commit403fa3cf07db6aba070eef262f10d0616088025f
tree224844988a2befab970c37fac2bb32809c1ad4de
parente98b8e2f2fae3e75f87d0d87098a8faee691a514
Ogg: discard non-essential metadata from Vorbis header when creating extradata

The first part of the metadata, the "vendor" string, is required by
libvorbis, it will refuse to play when it is not available.
Also we do not currently parse that part into metadata so it would also
be lost if we removed it as well.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 8cb3c557a9f3b24bc55325e3f64a2150b983305c)
libavformat/oggparsevorbis.c