changeset 5809:32f77ddb93fa libavformat

oggdec: Set data_offset to the right value Otherwise it gets set automatically to a page midstream and prevents seeking to the first page.
author conrad
date Thu, 11 Mar 2010 07:17:29 +0000
parents 9145ca829bce
children d090202af37d
files oggdec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/oggdec.c	Thu Mar 11 07:17:24 2010 +0000
+++ b/oggdec.c	Thu Mar 11 07:17:29 2010 +0000
@@ -382,6 +382,7 @@
             os->segp = segp;
             os->psize = psize;
             ogg->headers = 1;
+            s->data_offset = os->sync_pos;
         }else{
             os->pstart += os->psize;
             os->psize = 0;