aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-29 02:40:22 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-29 02:40:22 +0200
commitf6a5edb64c004b45ae063e85652e3213731b42b6 (patch)
tree5e468f1bb44febc6fdedf635bab8d39701c742a2
parent3f6dc4a13098f0776e9adcbf32029f9e9c4a4d4e (diff)
downloadffmpeg-f6a5edb64c004b45ae063e85652e3213731b42b6.tar.gz
flashsv2enc: remove useless if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/flashsv2enc.c7
1 files changed, 0 insertions, 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);
}