[theora-dev] 64 bit fix

Ulrich Hecht uli at suse.de
Thu Sep 26 06:49:02 PDT 2002



Hi!

I have tried the snapshot announced yesterday on an AMD x86-64 system.
The encoder works fine; to get the player to work libogg needs this
little fix:

--- src/bitwise.c
+++ src/bitwise.c       2002/09/26 11:55:27
@@ -364,7 +364,7 @@
       }
     }
   }
-  ret>>=m;
+  ret=(ret&0xffffffff)>>m;

  overflow:

<p><p>CU
Uli


-- 
Cidade do São Nome de Deus de Macau, Não há outra mais Leal

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'theora-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Theora-dev mailing list