[FFmpeg-soc] [soc]: r2785 - aac/aac.c
superdump
subversion at mplayerhq.hu
Tue Jul 15 13:18:42 CEST 2008
Author: superdump
Date: Tue Jul 15 13:18:42 2008
New Revision: 2785
Log:
Cosmetic: the data type of the output sample data is int16_t not uint16_t so use
this for calculating the size of the output data.
Modified:
aac/aac.c
Modified: aac/aac.c
==============================================================================
--- aac/aac.c (original)
+++ aac/aac.c Tue Jul 15 13:18:42 2008
@@ -2227,7 +2227,7 @@ static int output_samples(AVCodecContext
}
}
- i = 1024 * avccontext->channels * sizeof(uint16_t);
+ i = 1024 * avccontext->channels * sizeof(int16_t);
if(*data_size < i)
return -1;
*data_size = i;
More information about the FFmpeg-soc
mailing list