- /* reserve space for 8 channels, 3 bytes/sample, 4 samples/block */
- if (!(s->extra_samples = av_malloc(8 * 3 * 4)))
- return AVERROR(ENOMEM);
-
- return 0;
-}
-
-static av_cold int pcm_dvd_decode_uninit(AVCodecContext *avctx)
-{
- PCMDVDContext *s = avctx->priv_data;
-
- av_freep(&s->extra_samples);