X-Git-Url: https://git.piment-noir.org/?p=deb_ffmpeg.git;a=blobdiff_plain;f=ffmpeg%2Flibavcodec%2Ftta.c;h=01584d957e166c5148fd3889ecb93161461ea4da;hp=5fdbac8d44ee2d7ff706c74e988e21dbc770534b;hb=f6fa7814ccfe3e76514b36cf04f5cd3cb657c8cf;hpb=2ba45a602cbfa7b771effba9b11bb4245c21bc00 diff --git a/ffmpeg/libavcodec/tta.c b/ffmpeg/libavcodec/tta.c index 5fdbac8..01584d9 100644 --- a/ffmpeg/libavcodec/tta.c +++ b/ffmpeg/libavcodec/tta.c @@ -394,7 +394,7 @@ static av_cold int tta_decode_close(AVCodecContext *avctx) { TTAContext *s = avctx->priv_data; if (s->bps < 3) - av_free(s->decode_buffer); + av_freep(&s->decode_buffer); s->decode_buffer = NULL; av_freep(&s->ch_ctx);