Commit 5be7aecc authored by Paul B Mahol's avatar Paul B Mahol

pcm-dvd: use av_freep()

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent fc435d97
...@@ -56,8 +56,7 @@ static av_cold int pcm_dvd_decode_uninit(AVCodecContext *avctx) ...@@ -56,8 +56,7 @@ static av_cold int pcm_dvd_decode_uninit(AVCodecContext *avctx)
{ {
PCMDVDContext *s = avctx->priv_data; PCMDVDContext *s = avctx->priv_data;
if (s->extra_samples) av_freep(&s->extra_samples);
av_free(s->extra_samples);
return 0; return 0;
} }
......
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