[FFmpeg-soc] [soc]: r3502 - mlp/mlpenc.c

ramiro subversion at mplayerhq.hu
Thu Aug 21 00:21:53 CEST 2008


Author: ramiro
Date: Thu Aug 21 00:21:53 2008
New Revision: 3502

Log:
There's no need to specify the bit-depth for the int here.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Thu Aug 21 00:21:53 2008
@@ -1204,7 +1204,7 @@ static void write_block_data(MLPEncodeCo
             sample -= sign_huff_offset[ch];
 
             if (codebook[ch] >= 0) {
-                int8_t vlc = sample >> lsb_bits[ch];
+                int vlc = sample >> lsb_bits[ch];
                 put_bits(pb, ff_mlp_huffman_tables[codebook[ch]][vlc][1],
                              ff_mlp_huffman_tables[codebook[ch]][vlc][0]);
             }



More information about the FFmpeg-soc mailing list