Commit 782e066e authored by James Almer's avatar James Almer

avcodec/mediacodecdec: use ff_hevc_ps_uninit()

Fixes memleaks.
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 222d7055
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment