summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libav/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libav/mov.c b/libav/mov.c
index c8c2c3e05e..91c7155b08 100644
--- a/libav/mov.c
+++ b/libav/mov.c
@@ -1326,7 +1326,7 @@ static int mov_read_close(AVFormatContext *s)
for(i=0; i<mov->total_streams; i++)
mov_free_stream_context(mov->streams[i]);
for(i=0; i<s->nb_streams; i++)
- av_free(s->streams[i]);
+ av_freep(&s->streams[i]);
return 0;
}