You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
oggparsetheora: fix comment header parsing
Pass the correct header size to ff_vorbis_comment() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
0ed023275f
commit
db4bb4c983
@@ -113,7 +113,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;
|
||||
|
Reference in New Issue
Block a user