diff options
author | James Almer <jamrial@gmail.com> | 2018-01-20 16:55:17 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-01-30 13:15:44 -0300 |
commit | 782e066e3e3d8015d6d64c47cda0925c10aebe08 (patch) | |
tree | 5ad689f47b09d28922e8e193075132bca181452b | |
parent | 222d7055e2dd20eb1381c257d34a50ec4c8dadb0 (diff) | |
download | ffmpeg-782e066e3e3d8015d6d64c47cda0925c10aebe08.tar.gz |
avcodec/mediacodecdec: use ff_hevc_ps_uninit()
Fixes memleaks.
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavcodec/mediacodecdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 6c5d3ddd79..cb1151a195 100644 --- a/libavcodec/mediacodecdec.c +++ b/libavcodec/mediacodecdec.c @@ -258,6 +258,8 @@ static int hevc_set_extradata(AVCodecContext *avctx, FFAMediaFormat *format) } done: + ff_hevc_ps_uninit(&ps); + av_freep(&vps_data); av_freep(&sps_data); av_freep(&pps_data); |