Fix forumla -> formula in comment

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27483 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-08-26 18:41:04 +00:00
parent 4445a58fd3
commit c1751adcc1
1 changed files with 2 additions and 2 deletions

View File

@ -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;