Commit aca25104 authored by Christian Schmidt's avatar Christian Schmidt Committed by Luca Barbato

pcm-dvd: Minor leftovers

Drop a pointless branch in uninit and use the compact copyright.
parent d9cdb7d8
/* /*
* LPCM codecs for PCM formats found in Video DVD streams * 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. * This file is part of Libav.
* *
...@@ -54,8 +54,7 @@ static av_cold int pcm_dvd_decode_uninit(AVCodecContext *avctx) ...@@ -54,8 +54,7 @@ static av_cold int pcm_dvd_decode_uninit(AVCodecContext *avctx)
{ {
PCMDVDContext *s = avctx->priv_data; PCMDVDContext *s = avctx->priv_data;
if (s->extra_samples) av_freep(&s->extra_samples);
av_free(s->extra_samples);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment