[FFmpeg-devel] [PATCH 0/2] Fix memory leak on H.264 VDA decoder

Xidorn Quan quanxunzhen at gmail.com
Fri Mar 29 16:15:18 CET 2013


The new buffer API causes a memory leak on this decoder, and this
patchset fixes it.

For fixing this problem, the first patch introduces a new method for
accessing the opaque set by av_buffer_create.

Xidorn Quan (2):
  avutil/buffer: add get_opaque
  vda_h264_dec: fit the new API

 libavcodec/vda_h264_dec.c | 41 +++++++++++++++++++++++++++--------------
 libavutil/buffer.c        |  5 +++++
 libavutil/buffer.h        |  7 ++++++-
 3 files changed, 38 insertions(+), 15 deletions(-)

-- 
1.8.2



More information about the ffmpeg-devel mailing list