diff options
author | Mohamed Naufal Basheer <naufal11@gmail.com> | 2011-03-17 23:56:47 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-29 21:43:52 +0200 |
commit | bcc67dffa0e40602f2ce3240e831db173fe939a1 (patch) | |
tree | 32865bcfde10c4556f7faf2cb1bf5adcb5b6f364 /libavcodec/g729dec.c | |
parent | ecf31a68fd0d30178d7b6e1b663d5c40b88c4551 (diff) | |
download | ffmpeg-bcc67dffa0e40602f2ce3240e831db173fe939a1.tar.gz |
Add a shift parameter to celp_lp_synthesis_filter for reuse by the G.723.1 decoder
Diffstat (limited to 'libavcodec/g729dec.c')
-rw-r--r-- | libavcodec/g729dec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c index de384dd184..cd2eec880b 100644 --- a/libavcodec/g729dec.c +++ b/libavcodec/g729dec.c @@ -604,6 +604,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, SUBFRAME_SIZE, 10, 1, + 0, 0x800)) /* Overflow occured, downscale excitation signal... */ for (j = 0; j < 2 * SUBFRAME_SIZE + PITCH_DELAY_MAX + INTERPOL_LEN; j++) @@ -625,6 +626,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, SUBFRAME_SIZE, 10, 0, + 0, 0x800); } else { ff_celp_lp_synthesis_filter( @@ -634,6 +636,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, SUBFRAME_SIZE, 10, 0, + 0, 0x800); } /* Save data (without postfilter) for use in next subframe. */ |