From aca25104ea9c38e662e78bdefa967c8cf9e48584 Mon Sep 17 00:00:00 2001 From: Christian Schmidt Date: Wed, 11 Sep 2013 16:17:13 +0200 Subject: pcm-dvd: Minor leftovers Drop a pointless branch in uninit and use the compact copyright. --- libavcodec/pcm-dvd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libavcodec/pcm-dvd.c') 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; } -- cgit v1.2.3