On 6/9/12, xutm <xutom2006 at gmail.com> wrote: > Hi Hoyos, > > Thank u for ur reply. But i don`t use ffmpeg command line, i use > libavcodec instead. I use avcodec_encode_audio and avcodec_decode_audio3 to > encode and decode PCM data Try using avcodec_encode_audio2 instead.