Browse Source

oggdec: use av_freep() instead of av_free()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Michael Niedermayer 14 years ago
parent
commit
c104a6e902
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/oggdec.c

+ 2
- 2
libavformat/oggdec.c View File

@@ -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;


Loading…
Cancel
Save