<div dir="ltr">hello,<br>to allocate video frame buffers I use "avpicture_alloc" and to free it I use "avpicture_free".<br><br>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?<br>
<br><div>thanks,<br></div><div>M<br><br></div></div>