]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/oggparseflac.c
Add support for http digest authentication
[ffmpeg] / libavformat / oggparseflac.c
index 875f1844c548f1f6644416f69161f440ea5547a6..9a9ca7ead779f877c4b1481c73fa16f9c93904ae 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 #include <stdlib.h>
-#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;