[Libav-user] get_buffer() failed error in avcodec_decode_audio4() function

NITIN GOYAL nitinkumgoyal at gmail.com
Wed Feb 22 16:58:48 CET 2012

To follow up.

I have used the same example as stated on the following link just copy
pasting with the input file and outfile names and it also generates the
same error as *get_buffer() failed:*


Do anybody have any idea about this error?


On Wed, Feb 22, 2012 at 6:11 PM, NITIN GOYAL <nitinkumgoyal at gmail.com>wrote:

> Hi
> I have upgraded my ffmpeg version to the latest commit and Now i can see
> that the audio decoding funciton *avcodec_decode_audio3* has been
> deprecated and when i use the new function*avcodec_decode_audio4*, as per
> the changes required in it, I get the error as
> *[amrnb @ 003a5000] get_buffer() failed.*
> I am not able to find what causes this error. Anyone has a sample example
> of usng this new function:
> *avcodec_decode_audio4((AVCodecContext *avctx, AVFrame *frame,int
> *got_frame_ptr, AVPacket *avpkt);*
> Nitin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120222/0244abf5/attachment.html>

More information about the Libav-user mailing list