projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b52a65c
)
oggdec: use av_freep() instead of av_free()
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 11 Apr 2011 09:49:07 +0000
(11:49 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 11 Apr 2011 09:49:36 +0000
(11:49 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/oggdec.c
patch
|
blob
|
history
diff --git
a/libavformat/oggdec.c
b/libavformat/oggdec.c
index
e32f802
..
83ae9bd
100644
(file)
--- 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_free
p(&
ogg->streams[n].buf);
+ av_free
p(&
ogg->streams[n].private);
}
ogg->curidx = -1;
ogg->nstreams = 0;