[FFmpeg-soc] [soc]: r937 - qcelp/qcelpdec.c
Michael Niedermayer
michaelni at gmx.at
Sat Aug 18 03:31:04 CEST 2007
Hi
On Sat, Aug 18, 2007 at 03:10:19AM +0200, reynaldo wrote:
> Author: reynaldo
> Date: Sat Aug 18 03:10:18 2007
> New Revision: 937
>
> Log:
> pitch pre-filter needs its own memory
>
> Modified:
> qcelp/qcelpdec.c
>
> Modified: qcelp/qcelpdec.c
> ==============================================================================
> --- qcelp/qcelpdec.c (original)
> +++ qcelp/qcelpdec.c Sat Aug 18 03:10:18 2007
> @@ -49,6 +49,7 @@ typedef struct {
> uint8_t ifq_count;
> float prev_lspf[10];
> float pitchf_mem[144];
> + float pitchp_mem[144];
> float hammsinc_table[8];
> int frame_num;
> } QCELPContext;
> @@ -96,7 +97,7 @@ static int qcelp_decode_init(AVCodecCont
> q->prev_lspf[i]=0.0;
>
> for(i=0; i<144; i++)
> - q->pitchf_mem[i]=0.0;
> + q->pitchf_mem[i]=q->pitchp_mem[i]=0.0;
memset(0)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20070818/8504d965/attachment.pgp>
More information about the FFmpeg-soc
mailing list