ogg: get the operator precedence right, even if only a doc
https://bugzilla.gnome.org/show_bug.cgi?id=656775
This commit is contained in:
parent
cf370e0219
commit
1dadc5eac1
@ -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
|
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,
|
("p frame"). The granulepos is constructed as the sum of the first number,
|
||||||
shifted to the left for granuleshift bits, and the second 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
|
(This means that given a framenumber or a timestamp, one cannot generate
|
||||||
the one and only granulepos for that page; several granulepos possibilities
|
the one and only granulepos for that page; several granulepos possibilities
|
||||||
|
Loading…
x
Reference in New Issue
Block a user