28 Feb
2008
28 Feb
'08
9:55 a.m.
Author: andoma Date: Thu Feb 28 10:55:37 2008 New Revision: 1939 Log: 10l: float_to_int16() wants number of samples, not bytes. Modified: aac/aac.c Modified: aac/aac.c ============================================================================== --- aac/aac.c (original) +++ aac/aac.c Thu Feb 28 10:55:37 2008 @@ -2131,7 +2131,7 @@ static int output_samples(AVCodecContext } *data_size = 1024 * avccontext->channels * sizeof(uint16_t); - ac->dsp.float_to_int16(data, ac->interleaved_output, *data_size); + ac->dsp.float_to_int16(data, ac->interleaved_output, 1024 * avccontext->channels); return 0; }
6832
Age (days ago)
6832
Last active (days ago)
0 comments
1 participants
participants (1)
-
andoma