mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
flashsv2enc: remove useless if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3f6dc4a130
commit
f6a5edb64c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user