X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Foggparseflac.c;h=9a9ca7ead779f877c4b1481c73fa16f9c93904ae;hb=855e7732c6bcc7d52cd0863407a721c2bf00fcf1;hp=875f1844c548f1f6644416f69161f440ea5547a6;hpb=7fa9a0a2565d2b1b9039c7e4da9092a2760579a1;p=ffmpeg diff --git a/libavformat/oggparseflac.c b/libavformat/oggparseflac.c index 875f1844c54..9a9ca7ead77 100644 --- a/libavformat/oggparseflac.c +++ b/libavformat/oggparseflac.c @@ -19,7 +19,7 @@ */ #include -#include "libavcodec/bitstream.h" +#include "libavcodec/get_bits.h" #include "libavcodec/flac.h" #include "avformat.h" #include "oggdec.h" @@ -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) { - 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;