[FFmpeg-cvslog] tscc2: fix typo in DCT

Kostya Shishkov git at videolan.org
Wed Jul 18 22:44:49 CEST 2012


ffmpeg | branch: master | Kostya Shishkov <kostya.shishkov at gmail.com> | Tue Jul 17 17:34:58 2012 +0200| [3c6c19184c46f1d0d83f5aecb1bfaaa71d1cd367] | committer: Kostya Shishkov

tscc2: fix typo in DCT

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3c6c19184c46f1d0d83f5aecb1bfaaa71d1cd367
---

 libavcodec/tscc2.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/tscc2.c b/libavcodec/tscc2.c
index 972dc43..91f79e2 100644
--- a/libavcodec/tscc2.c
+++ b/libavcodec/tscc2.c
@@ -91,7 +91,7 @@ static av_cold int init_vlcs(TSCC2Context *c)
 #define DCT1D(d0, d1, d2, d3, s0, s1, s2, s3, OP) \
     OP(d0, 5 * ((s0) + (s1) + (s2)) + 2 * (s3));  \
     OP(d1, 5 * ((s0) - (s2) - (s3)) + 2 * (s1));  \
-    OP(d2, 5 * ((s0) - (s2) + (s3)) - 2 * (s3));  \
+    OP(d2, 5 * ((s0) - (s2) + (s3)) - 2 * (s1));  \
     OP(d3, 5 * ((s0) - (s1) + (s2)) - 2 * (s3));  \
 
 #define COL_OP(a, b)  a = b



More information about the ffmpeg-cvslog mailing list