[FFmpeg-devel] [PATCH 0/2]: allow hwaccel vda module to manage its buffers lifetime.

Sebastien Zwickert dilaroga at gmail.com
Wed May 22 21:53:12 CEST 2013

This patchset fixes memory leaks of vda core video buffers while seeking.
It allows hwaccel modules to set a custom callback for freeing av buffers.
Then vda decoder can flush correctly dropped frames.

Thanks to Xidorn Quan who gives me good feebacks about the patch I shared
with him in private.

Sebastien Zwickert (2):
  hwaccel: allow to set a user-defined callback for releasing private
    av buffer.
  vda: use hwaccel custom callback for releasing private picture

 libavcodec/avcodec.h   |   12 ++++++++++++
 libavcodec/h264.c      |    9 ++++++++-
 libavcodec/mpegvideo.c |    9 ++++++++-
 libavcodec/vda.h       |   12 +++++++++++-
 libavcodec/vda_h264.c  |   18 ++++++++++++++++++
 5 files changed, 57 insertions(+), 3 deletions(-)

-- (Apple Git-31.1)

More information about the ffmpeg-devel mailing list