[FFmpeg-cvslog] pcm-dvd: Minor leftovers
Christian Schmidt
git at videolan.org
Fri Sep 13 13:53:16 CEST 2013
ffmpeg | branch: master | Christian Schmidt <schmidt at digadd.de> | Wed Sep 11 16:17:13 2013 +0200| [aca25104ea9c38e662e78bdefa967c8cf9e48584] | committer: Luca Barbato
pcm-dvd: Minor leftovers
Drop a pointless branch in uninit and use the compact copyright.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aca25104ea9c38e662e78bdefa967c8cf9e48584
---
libavcodec/pcm-dvd.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavcodec/pcm-dvd.c b/libavcodec/pcm-dvd.c
index 3f092f6..172e93a 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;
}
More information about the ffmpeg-cvslog
mailing list