X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Foggparseogm.c;h=508a0dc5419f9c4aadba1dfd47721f924203e880;hb=aab2e939a9a1bbf72469a690808dd9644c85ccee;hp=95369df89ea3d8f90ad5bb005c5dffc8c52117e2;hpb=07941c2cb28d6a80f628e035d61ab437d9719bf0;p=ffmpeg diff --git a/libavformat/oggparseogm.c b/libavformat/oggparseogm.c index 95369df89ea..508a0dc5419 100644 --- a/libavformat/oggparseogm.c +++ b/libavformat/oggparseogm.c @@ -111,7 +111,7 @@ ogm_header(AVFormatContext *s, int idx) } else if (bytestream2_peek_byte(&p) == 3) { bytestream2_skip(&p, 7); if (bytestream2_get_bytes_left(&p) > 1) - ff_vorbis_comment(s, &st->metadata, p.buffer, bytestream2_get_bytes_left(&p) - 1); + ff_vorbis_comment(s, &st->metadata, p.buffer, bytestream2_get_bytes_left(&p) - 1, 1); } return 1;