[xiph-commits] r10525 - experimental/j/Elphel333/common

giles at svn.xiph.org giles at svn.xiph.org
Fri Dec 2 12:01:01 PST 2005


Author: giles
Date: 2005-12-02 12:01:00 -0800 (Fri, 02 Dec 2005)
New Revision: 10525

Modified:
   experimental/j/Elphel333/common/oggtheora.c
Log:
Correct masking logic. This was setting the eos on every page, which 
confuses a lot of parsers.

I think this shouldn't be here at all; the caller is the only one who
can know if eos should be set.


Modified: experimental/j/Elphel333/common/oggtheora.c
===================================================================
--- experimental/j/Elphel333/common/oggtheora.c	2005-12-02 11:21:16 UTC (rev 10524)
+++ experimental/j/Elphel333/common/oggtheora.c	2005-12-02 20:01:00 UTC (rev 10525)
@@ -909,7 +909,7 @@
        nn--;
        r=255;
        granule0=~0ULL;
-       ogg_header->flags= flags & 3; //remove "last page" flag
+       ogg_header->flags= flags & !3; //remove "last page" flag
 D(fprintf(stderr,"*"));
      } else {
        granule0=granule;



More information about the commits mailing list