[FFmpeg-soc] [soc]: r2665 - mlp/mlpdec.c

ramiro subversion at mplayerhq.hu
Thu Jul 3 02:36:21 CEST 2008


Author: ramiro
Date: Thu Jul  3 02:36:21 2008
New Revision: 2665

Log:
There is no need to clear filter_coeff and filter_state.
If order is zero they are not used, otherwise they are read from the bitstream.

Modified:
   mlp/mlpdec.c

Modified: mlp/mlpdec.c
==============================================================================
--- mlp/mlpdec.c	(original)
+++ mlp/mlpdec.c	Thu Jul  3 02:36:21 2008
@@ -519,9 +519,6 @@ static int read_restart_header(MLPDecode
         m->filter_coeff_q[ch][FIR] = 0;
         m->filter_coeff_q[ch][IIR] = 0;
 
-        memset(m->filter_coeff[ch], 0, sizeof(m->filter_coeff[ch]));
-        memset(m->filter_state[ch], 0, sizeof(m->filter_state[ch]));
-
         /* Default audio coding is 24-bit raw PCM */
         m->huff_offset     [ch] = 0;
         m->sign_huff_offset[ch] = (-1) << 23;



More information about the FFmpeg-soc mailing list