Commit 52512d0a authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Anton Khirnov

oggdec: use av_freep() instead of av_free()

Signed-off-by: default avatarAnton Khirnov <anton@khirnov.net>
parent 26f6b8c5
......@@ -245,8 +245,8 @@ ogg_read_page (AVFormatContext * s, int *str)
int n;
for (n = 0; n < ogg->nstreams; n++) {
av_free(ogg->streams[n].buf);
av_free(ogg->streams[n].private);
av_freep(&ogg->streams[n].buf);
av_freep(&ogg->streams[n].private);
}
ogg->curidx = -1;
ogg->nstreams = 0;
......
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