From f2b7ce8ae68f9d262ce102605532d3520e279a67 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Wed, 11 Nov 2009 11:00:50 +0000 Subject: 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 --- libavcodec/lsp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/lsp.h') diff --git a/libavcodec/lsp.h b/libavcodec/lsp.h index 18d9772b55..9c02000aaa 100644 --- a/libavcodec/lsp.h +++ b/libavcodec/lsp.h @@ -50,7 +50,7 @@ void ff_acelp_reorder_lsf(int16_t* lsfq, int lsfq_min_distance, int lsfq_min, in * @param min_spacing minimum distance between two consecutive lsf values * @param size size of the lsf vector */ -void ff_set_min_dist_lsf(float *lsf, float min_spacing, int order); +void ff_set_min_dist_lsf(float *lsf, double min_spacing, int order); /** * \brief Convert LSF to LSP -- cgit v1.2.3