diff options
Diffstat (limited to 'libavcodec/pcm-dvd.c')
-rw-r--r-- | libavcodec/pcm-dvd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/pcm-dvd.c b/libavcodec/pcm-dvd.c index 3f092f646a..172e93ae82 100644 --- a/libavcodec/pcm-dvd.c +++ b/libavcodec/pcm-dvd.c @@ -1,6 +1,6 @@ /* * LPCM codecs for PCM formats found in Video DVD streams - * Copyright (c) 2009-2013 Christian Schmidt + * Copyright (c) 2013 Christian Schmidt * * This file is part of Libav. * @@ -54,8 +54,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; } |