Skip to content
Snippets Groups Projects
Commit 39403c6c authored by Giorgio Vazzana's avatar Giorgio Vazzana Committed by Martin Storsjö
Browse files

oggparsetheora: fix comment header parsing


Pass the correct header size to ff_vorbis_comment()

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent bad446e2
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ theora_header (AVFormatContext * s, int idx)
}
break;
case 0x81:
ff_vorbis_comment(s, &st->metadata, os->buf + os->pstart + 7, os->psize - 8);
ff_vorbis_comment(s, &st->metadata, os->buf + os->pstart + 7, os->psize - 7);
case 0x82:
if (!thp->version)
return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment