[FFmpeg-devel] [PATCH 4/5] avcodec/mediacodecdec: use ff_hevc_uninit_parameter_sets()
James Almer
jamrial at gmail.com
Sat Jan 20 23:12:52 EET 2018
Signed-off-by: James Almer <jamrial at gmail.com>
---
libavcodec/mediacodecdec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c
index 6c5d3ddd79..b360e7a7f1 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_uninit_parameter_sets(&ps);
+
av_freep(&vps_data);
av_freep(&sps_data);
av_freep(&pps_data);
--
2.15.0
More information about the ffmpeg-devel
mailing list