[vlc-devel] commit: Fix fixed point liba52 warnings ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Sep 12 14:53:43 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Sep 12 15:53:25 2009 +0300| [7fa4763df35f6b0282c36df1d01515107a5dc444] | committer: Rémi Denis-Courmont
Fix fixed point liba52 warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7fa4763df35f6b0282c36df1d01515107a5dc444
---
modules/audio_filter/converter/a52tofloat32.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/audio_filter/converter/a52tofloat32.c b/modules/audio_filter/converter/a52tofloat32.c
index 6ae9a3a..5b9ed6f 100644
--- a/modules/audio_filter/converter/a52tofloat32.c
+++ b/modules/audio_filter/converter/a52tofloat32.c
@@ -310,8 +310,8 @@ static void Duplicate( sample_t * p_out, const sample_t * p_in )
static void Exchange( sample_t * p_out, const sample_t * p_in )
{
int i;
- const float * p_first = p_in + 256;
- const float * p_second = p_in;
+ const sample_t * p_first = p_in + 256;
+ const sample_t * p_second = p_in;
for ( i = 0; i < 256; i++ )
{
@@ -334,7 +334,7 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
#endif
int i_flags = p_sys->i_flags;
int i_bytes_per_block = 256 * p_sys->i_nb_channels
- * sizeof(float);
+ * sizeof(sample_t);
int i;
/* Do the actual decoding now. */
More information about the vlc-devel
mailing list