On Fri, Jul 27, 2012 at 03:15:26PM +0530, Mohamed Naufal wrote: > On 22 July 2012 11:33, Kostya Shishkov <[email protected]> wrote: > > > On Wed, Jul 18, 2012 at 04:44:24PM -0400, Justin Ruggles wrote: > > > On 07/18/2012 01:23 PM, Kostya Shishkov wrote: > > > > + memset(p->frame.data[0], 0, FRAME_LEN * 2); > > > [...] > > > > + memcpy(p->frame.data[0], p->audio + LPC_ORDER, FRAME_LEN * 2); > > > > > > Maybe use av_get_bytes_per_sample() instead of hardcoding 2. > > > > Not sure if it's needed because the decoder outputs int16_t explicitly. > > > > > The rest looks fine to me. > > > > Applied, now I need to find time and make it bitexact.... > > > > FWIW, my original code ( > http://permalink.gmane.org/gmane.comp.video.ffmpeg.devel/115192) was > bitexact.
Could be, though I somewhat doubt it. At least I've tried it with test vectors provided by ITU and output was different. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
