Author: ramiro
Date: Sun Aug 10 15:38:30 2008
New Revision: 3137

Log:
Only check for best bitcount if it was smaller than previous bitcount.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c        (original)
+++ mlp/mlpenc.c        Sun Aug 10 15:38:30 2008
@@ -812,10 +812,10 @@ static void codebook_bits(MLPEncodeConte
                                  min, max, offset,
                                  &temp_bo, &next, !direction);
 
+            if (temp_bo.bitcount < previous_count) {
             if (temp_bo.bitcount < best_bo.bitcount)
                 best_bo = temp_bo;
 
-            if (temp_bo.bitcount < previous_count) {
                 is_greater = 0;
             } else if (++is_greater >= 5)
                 break;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to