summaryrefslogtreecommitdiffstats
path: root/vobsub.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2008-09-03 10:16:30 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2008-09-03 10:16:30 +0300
commitb56858342fdbe48489618107df75e5bd0451eb0b (patch)
tree5d41ef858502bae99dcbebdd728d42a6040adb03 /vobsub.c
parent8ea7eb77fc7ba8bd0b596ea32ee60909a012828f (diff)
parentbae94777d7ddaa2d4763507fdb93b9520327c9d1 (diff)
downloadmpv-b56858342fdbe48489618107df75e5bd0451eb0b.tar.bz2
mpv-b56858342fdbe48489618107df75e5bd0451eb0b.tar.xz
Merge svn changes up to r27514
Diffstat (limited to 'vobsub.c')
-rw-r--r--vobsub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vobsub.c b/vobsub.c
index 09087d0923..de19bbfc3b 100644
--- a/vobsub.c
+++ b/vobsub.c
@@ -803,8 +803,8 @@ vobsub_parse_origin(vobsub_t *vob, const char *line)
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;