ogg: get the operator precedence right, even if only a doc
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Thu, 18 Aug 2011 08:37:38 +0000 (09:37 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 18 Aug 2011 09:17:40 +0000 (11:17 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=656775

ext/ogg/README

index 557e9d5..da449e1 100644 (file)
@@ -30,7 +30,7 @@ The granulepos in theora is an encoding of the frame number of the last
 key frame ("i frame"), and the number of frames since the last key frame
 ("p frame").  The granulepos is constructed as the sum of the first number,
 shifted to the left for granuleshift bits, and the second number:
-granulepos = pframe << granuleshift + iframe
+granulepos = (pframe << granuleshift) + iframe
 
 (This means that given a framenumber or a timestamp, one cannot generate
  the one and only granulepos for that page; several granulepos possibilities