mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-30 11:24:17 +00:00
oggparsetheora: fix comment header parsing
Pass the correct header size to ff_vorbis_comment() Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
bad446e251
commit
39403c6c1b
@ -114,7 +114,7 @@ theora_header (AVFormatContext * s, int idx)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 0x81:
|
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:
|
case 0x82:
|
||||||
if (!thp->version)
|
if (!thp->version)
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user