Skip to content
Snippets Groups Projects
Commit 782e066e authored by James Almer's avatar James Almer
Browse files

avcodec/mediacodecdec: use ff_hevc_ps_uninit()


Fixes memleaks.

Signed-off-by: default avatarJames Almer <jamrial@gmail.com>
parent 222d7055
Branches
Tags
No related merge requests found
...@@ -258,6 +258,8 @@ static int hevc_set_extradata(AVCodecContext *avctx, FFAMediaFormat *format) ...@@ -258,6 +258,8 @@ static int hevc_set_extradata(AVCodecContext *avctx, FFAMediaFormat *format)
} }
done: done:
ff_hevc_ps_uninit(&ps);
av_freep(&vps_data); av_freep(&vps_data);
av_freep(&sps_data); av_freep(&sps_data);
av_freep(&pps_data); av_freep(&pps_data);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment