aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-05-26 18:21:09 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-05-26 18:21:09 +0000
commite9655b3dcd667c3da2f5eae2c1bd971d5c271400 (patch)
treeb42c493ba8b052ac6ca22e24ac2ee1cc2702e287
parent2a7b6f251c56c3107ea3f744991c915466a92673 (diff)
downloadffmpeg-e9655b3dcd667c3da2f5eae2c1bd971d5c271400.tar.gz
Update comment
Originally committed as revision 13434 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ra144.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index 5320d48807..5ecb04f34d 100644
--- a/libavcodec/ra144.c
+++ b/libavcodec/ra144.c
@@ -56,7 +56,10 @@ static int ra144_decode_init(AVCodecContext * avctx)
return 0;
}
-/* lookup square roots in table */
+/**
+ * Evaluate sqrt(x << 24). x must fit in 20 bits. This value is evaluated in a
+ * odd way to make the output identical to the binary decoder.
+ */
static int t_sqrt(unsigned int x)
{
int s = 0;