[MPlayer-cvslog] CVS: main/libmpcodecs ae_toolame.c,1.2,1.3
Nico Sabbi CVS
syncmail at mplayerhq.hu
Fri Jan 21 08:22:06 CET 2005
- Previous message: [MPlayer-cvslog] CVS: main/libmpcodecs ve_divx4.c, 1.15, 1.16 ve_libdv.c, 1.10, 1.11 ve_nuv.c, 1.3, 1.4 ve_qtvideo.c, 1.11, 1.12 ve_raw.c, 1.3, 1.4 ve_vfw.c, 1.16, 1.17 ve_xvid.c, 1.27, 1.28 ve_xvid4.c, 1.11, 1.12
- Next message: [MPlayer-cvslog] CVS: main/libao2 ao_dsound.c,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Nico Sabbi CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv19084
Modified Files:
ae_toolame.c
Log Message:
fixed wrong deinterleaving of channels
Index: ae_toolame.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ae_toolame.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ae_toolame.c 12 Oct 2004 20:32:14 -0000 1.2
+++ ae_toolame.c 21 Jan 2005 07:22:04 -0000 1.3
@@ -119,8 +119,8 @@
buffer = (uint16_t *) src;
for(i = 0; i < nsamples; i++)
{
- ctx->left_pcm[i] = buffer[2 * i];
- ctx->right_pcm[i] = buffer[2 * i + (ctx->channels - 1)];
+ ctx->left_pcm[i] = buffer[ctx->channels * i];
+ ctx->right_pcm[i] = buffer[(ctx->channels * i) + (ctx->channels - 1)];
}
toolame_encode_buffer(ctx->toolame_ctx, ctx->left_pcm, ctx->right_pcm, nsamples, dest, max_size, &ret_size);
- Previous message: [MPlayer-cvslog] CVS: main/libmpcodecs ve_divx4.c, 1.15, 1.16 ve_libdv.c, 1.10, 1.11 ve_nuv.c, 1.3, 1.4 ve_qtvideo.c, 1.11, 1.12 ve_raw.c, 1.3, 1.4 ve_vfw.c, 1.16, 1.17 ve_xvid.c, 1.27, 1.28 ve_xvid4.c, 1.11, 1.12
- Next message: [MPlayer-cvslog] CVS: main/libao2 ao_dsound.c,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list