changeset 5793:33c615713e26 libavcodec

merge
author bcoudurier
date Mon, 08 Oct 2007 12:14:43 +0000
parents aa620757cceb
children 8412118b41d3
files dnxhddec.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dnxhddec.c	Mon Oct 08 12:11:19 2007 +0000
+++ b/dnxhddec.c	Mon Oct 08 12:14:43 2007 +0000
@@ -201,9 +201,8 @@
         if (weigth_matrix[i] != 32) // FIXME 10bit
             level += 32;
         level >>= 6;
-        level = (level^sign) - sign;
         //av_log(NULL, AV_LOG_DEBUG, "i %d, j %d, end level %d\n", i, j, level);
-        block[j] = level;
+        block[j] = (level^sign) - sign;
     }
 }