[Libav-user] How to cleanup libavcodec buffers when release is called during decode?

Ratin ratin3 at gmail.com
Sat May 26 19:21:39 CEST 2012


Hi,  for h.264 decode with hardware like Nvidia's VDPAU decoding, what
should I do to cleanup the resources when avcodec_release callback is
called? It seems that there are are some memory leaks when running
decode for long period of time. Also whats the significance of
AVFrame->age , is it used to keep reference frames alive ?
Thanks

Ratin


More information about the Libav-user mailing list