changeset 27451:07ff0bdce52c

Fix forumla -> formula in comment
author reimar
date Tue, 26 Aug 2008 18:41:04 +0000
parents 4da9ce4d8327
children ead4f7641514
files vobsub.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vobsub.c	Sun Aug 24 13:52:54 2008 +0000
+++ b/vobsub.c	Tue Aug 26 18:41:04 2008 +0000
@@ -803,8 +803,8 @@
 unsigned int vobsub_palette_to_yuv(unsigned int pal)
 {
     int r, g, b, y, u, v;
-    // Palette in idx file is not rgb value, it was calculated by wrong forumla.
-    // Here's reversed forumla of the one used to generate palette in idx file.
+    // Palette in idx file is not rgb value, it was calculated by wrong formula.
+    // Here's reversed formula of the one used to generate palette in idx file.
     r = pal >> 16 & 0xff;
     g = pal >> 8 & 0xff;
     b = pal & 0xff;