]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/oggparseopus.c
Merge commit '68a06b3a639ee21c78532ee4c50c3366bf890ff7'
[ffmpeg] / libavformat / oggparseopus.c
index 75c611413ec5e610630325f9d86c9d34aee74c61..7dfb13d5d2f3322680c7ddee1c1b92c1a6eecb9e 100644 (file)
@@ -78,7 +78,7 @@ static int opus_header(AVFormatContext *avf, int idx)
     if (priv->need_comments) {
         if (os->psize < 8 || memcmp(packet, "OpusTags", 8))
             return AVERROR_INVALIDDATA;
-        ff_vorbis_comment(avf, &st->metadata, packet + 8, os->psize - 8);
+        ff_vorbis_comment(avf, &st->metadata, packet + 8, os->psize - 8, 1);
         priv->need_comments--;
         return 1;
     }