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;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to