mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
pcm-dvd: use av_freep()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
fc435d977a
commit
5be7aecc80
1 changed files with 1 additions and 2 deletions
|
|
@ -56,8 +56,7 @@ static av_cold int pcm_dvd_decode_uninit(AVCodecContext *avctx)
|
|||
{
|
||||
PCMDVDContext *s = avctx->priv_data;
|
||||
|
||||
if (s->extra_samples)
|
||||
av_free(s->extra_samples);
|
||||
av_freep(&s->extra_samples);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue