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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment