mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/mediacodecdec: use ff_hevc_ps_uninit()
Fixes memleaks. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
222d7055e2
commit
782e066e3e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue