[FFmpeg-soc] [soc]: r3110 - mlp/mlpenc.c
ramiro
subversion at mplayerhq.hu
Sun Aug 10 00:22:05 CEST 2008
Author: ramiro
Date: Sun Aug 10 00:22:05 2008
New Revision: 3110
Log:
Set 'offset' from within codebook_bits_offset().
Modified:
mlp/mlpenc.c
Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c (original)
+++ mlp/mlpenc.c Sun Aug 10 00:22:05 2008
@@ -748,6 +748,7 @@ static void codebook_bits_offset(MLPEnco
if (codebook == 2)
lsb_bits++;
+ bo->offset = offset;
bo->lsb_bits = lsb_bits;
bo->bitcount = lsb_bits * dp->blocksize + bitcount;
*pprevious = previous;
@@ -778,7 +779,6 @@ static void codebook_bits(MLPEncodeConte
if (temp_bo.bitcount < best_bo.bitcount) {
best_bo = temp_bo;
- best_bo.offset = offset;
}
if (temp_bo.bitcount < previous_count)
More information about the FFmpeg-soc
mailing list