Browse Source

oggparsetheora: fix comment header parsing

Pass the correct header size to ff_vorbis_comment()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Giorgio Vazzana Michael Niedermayer 13 years ago
parent
commit
db4bb4c983
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/oggparsetheora.c

+ 1
- 1
libavformat/oggparsetheora.c View File

@@ -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;


Loading…
Cancel
Save