Permalink
Browse files

pcm-dvd: Minor leftovers

Drop a pointless branch in uninit and use the compact copyright.
  • Loading branch information...
1 parent d9cdb7d commit aca25104ea9c38e662e78bdefa967c8cf9e48584 @chrschmidt chrschmidt committed with lu-zero Sep 11, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 libavcodec/pcm-dvd.c
View
5 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;
}

0 comments on commit aca2510

Please sign in to comment.