diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-12 04:22:31 +0000 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-20 17:37:16 +0200 |
commit | 52512d0a4340895ba8bd9d2af48f256b969559d2 (patch) | |
tree | be4c54825ce5975e21c6c2d9cbbeada591843eaa | |
parent | 26f6b8c571bcff7b325c7d6cc226c625dd465f8e (diff) | |
download | ffmpeg-52512d0a4340895ba8bd9d2af48f256b969559d2.tar.gz |
oggdec: use av_freep() instead of av_free()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-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 ce1152d3c2..d2725792e9 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -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; |