projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26f6b8c
)
oggdec: use av_freep() instead of av_free()
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 12 Apr 2011 04:22:31 +0000
(
04:22
+0000)
committer
Anton Khirnov
<anton@khirnov.net>
Wed, 20 Apr 2011 15:37:16 +0000
(17:37 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/oggdec.c
patch
|
blob
|
history
diff --git
a/libavformat/oggdec.c
b/libavformat/oggdec.c
index
ce1152d
..
d272579
100644
(file)
--- 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_free
p(&
ogg->streams[n].buf);
+ av_free
p(&
ogg->streams[n].private);
}
ogg->curidx = -1;
ogg->nstreams = 0;