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. The rest looks fine to me. -Justin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
