changeset 4098:db808f95ad06 libavcodec

lambda* should be unsigned
author michael
date Sat, 28 Oct 2006 16:11:25 +0000
parents de30c06dc299
children 5e5c34470242
files mpegvideo.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.h	Sat Oct 28 15:20:00 2006 +0000
+++ b/mpegvideo.h	Sat Oct 28 16:11:25 2006 +0000
@@ -321,8 +321,8 @@
 
     int qscale;                 ///< QP
     int chroma_qscale;          ///< chroma QP
-    int lambda;                 ///< lagrange multipler used in rate distortion
-    int lambda2;                ///< (lambda*lambda) >> FF_LAMBDA_SHIFT
+    unsigned int lambda;        ///< lagrange multipler used in rate distortion
+    unsigned int lambda2;       ///< (lambda*lambda) >> FF_LAMBDA_SHIFT
     int *lambda_table;
     int adaptive_quant;         ///< use adaptive quantization
     int dquant;                 ///< qscale difference to prev qscale