diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-11 11:49:07 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-11 11:49:36 +0200 |
commit | c104a6e90226eaa253aeba471c8859e0da922da7 (patch) | |
tree | c80974450351baea21d6bedcc523798380852917 /libavformat | |
parent | b52a65ccc8ab20512387b31b53788ed5945d2c87 (diff) | |
download | ffmpeg-c104a6e90226eaa253aeba471c8859e0da922da7.tar.gz |
oggdec: use av_freep() instead of av_free()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/oggdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index e32f8029e0..83ae9bdb0e 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -247,8 +247,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; |