summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1c7f252)
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
static av_cold int flac_encode_close(AVCodecContext *avctx)
{
static av_cold int flac_encode_close(AVCodecContext *avctx)
{
- if (avctx->priv_data) {
- FlacEncodeContext *s = avctx->priv_data;
- av_freep(&s->md5ctx);
- av_freep(&s->md5_buffer);
- ff_lpc_end(&s->lpc_ctx);
- }
+ FlacEncodeContext *s = avctx->priv_data;
+
+ av_freep(&s->md5ctx);
+ av_freep(&s->md5_buffer);
+ ff_lpc_end(&s->lpc_ctx);