diff options
author | Christian Schmidt <schmidt@digadd.de> | 2013-09-11 16:17:13 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-09-13 12:14:05 +0200 |
commit | aca25104ea9c38e662e78bdefa967c8cf9e48584 (patch) | |
tree | e772236461f5923fe9d32a45d40fc43d7f467561 /libavcodec/pcm-dvd.c | |
parent | d9cdb7d8d6d828bb5497ea3f0fd7edd2f3f6cc30 (diff) | |
download | ffmpeg-aca25104ea9c38e662e78bdefa967c8cf9e48584.tar.gz |
pcm-dvd: Minor leftovers
Drop a pointless branch in uninit and use the compact copyright.
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; } |