aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/demux_fli.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/demux_fli.c')
-rw-r--r--libmpdemux/demux_fli.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libmpdemux/demux_fli.c b/libmpdemux/demux_fli.c
index 02a84f085f..e89fa75d97 100644
--- a/libmpdemux/demux_fli.c
+++ b/libmpdemux/demux_fli.c
@@ -190,11 +190,8 @@ static void demux_close_fli(demuxer_t* demuxer) {
if(!frames)
return;
- if(frames->filepos)
- free(frames->filepos);
- if(frames->frame_size)
- free(frames->frame_size);
-
+ free(frames->filepos);
+ free(frames->frame_size);
free(frames);
}