diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2009-11-11 11:00:50 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2009-11-11 11:00:50 +0000 |
commit | f2b7ce8ae68f9d262ce102605532d3520e279a67 (patch) | |
tree | 77528622bbdf3bdf35f8af4112f87f08d4a280a5 /libavcodec/lsp.c | |
parent | 4312b9367a9d6d6e14a7804330d1bf04a85e5a8e (diff) | |
download | ffmpeg-f2b7ce8ae68f9d262ce102605532d3520e279a67.tar.gz |
Use doubles in ff_set_min_dist_lsf(). After this patch, AMR can use this
function with no change in output.
Originally committed as revision 20511 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/lsp.c')
-rw-r--r-- | libavcodec/lsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lsp.c b/libavcodec/lsp.c index ffd2410b48..ce0fbc28b8 100644 --- a/libavcodec/lsp.c +++ b/libavcodec/lsp.c @@ -47,7 +47,7 @@ void ff_acelp_reorder_lsf(int16_t* lsfq, int lsfq_min_distance, int lsfq_min, in lsfq[lp_order-1] = FFMIN(lsfq[lp_order-1], lsfq_max);//Is warning required ? } -void ff_set_min_dist_lsf(float *lsf, float min_spacing, int size) +void ff_set_min_dist_lsf(float *lsf, double min_spacing, int size) { int i; float prev = 0.0; |