[Libav-user] Allocate and free audio frame
Massimo Battistel
battistel at gmail.com
Sat Jul 20 18:00:10 CEST 2013
hello,
to allocate video frame buffers I use "avpicture_alloc" and to free it I
use "avpicture_free".
to allocate audio frame buffers I first have to allocate a buffer using
"av_malloc" and then use "avcodec_fill_audio_frame". Is there a specific
method to free audio frames? Now I'm using "avpicture_free" and it works,
but is this the proper way?
thanks,
M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130720/b8116192/attachment.html>
More information about the Libav-user
mailing list