From f6a5edb64c004b45ae063e85652e3213731b42b6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 29 Apr 2011 02:40:22 +0200 Subject: [PATCH] flashsv2enc: remove useless if() Signed-off-by: Michael Niedermayer --- libavcodec/flashsv2enc.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libavcodec/flashsv2enc.c b/libavcodec/flashsv2enc.c index 34d24595fd..44c9bc68ca 100644 --- a/libavcodec/flashsv2enc.c +++ b/libavcodec/flashsv2enc.c @@ -123,20 +123,13 @@ typedef struct FlashSV2Context { static av_cold void cleanup(FlashSV2Context * s) { - if (s->encbuffer) av_free(s->encbuffer); - if (s->keybuffer) av_free(s->keybuffer); - if (s->databuffer) av_free(s->databuffer); - if (s->current_frame) av_free(s->current_frame); - if (s->key_frame) av_free(s->key_frame); - if (s->frame_blocks) av_free(s->frame_blocks); - if (s->key_blocks) av_free(s->key_blocks); }