Commit f6a5edb6 authored by Michael Niedermayer's avatar Michael Niedermayer

flashsv2enc: remove useless if()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3f6dc4a1
...@@ -123,20 +123,13 @@ typedef struct FlashSV2Context { ...@@ -123,20 +123,13 @@ typedef struct FlashSV2Context {
static av_cold void cleanup(FlashSV2Context * s) static av_cold void cleanup(FlashSV2Context * s)
{ {
if (s->encbuffer)
av_free(s->encbuffer); av_free(s->encbuffer);
if (s->keybuffer)
av_free(s->keybuffer); av_free(s->keybuffer);
if (s->databuffer)
av_free(s->databuffer); av_free(s->databuffer);
if (s->current_frame)
av_free(s->current_frame); av_free(s->current_frame);
if (s->key_frame)
av_free(s->key_frame); av_free(s->key_frame);
if (s->frame_blocks)
av_free(s->frame_blocks); av_free(s->frame_blocks);
if (s->key_blocks)
av_free(s->key_blocks); av_free(s->key_blocks);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment