1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-03 05:10:03 +02:00

oggdec: use av_freep() instead of av_free()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-04-11 11:49:07 +02:00
parent b52a65ccc8
commit c104a6e902

View File

@ -247,8 +247,8 @@ ogg_read_page (AVFormatContext * s, int *str)
int n; int n;
for (n = 0; n < ogg->nstreams; n++) { for (n = 0; n < ogg->nstreams; n++) {
av_free(ogg->streams[n].buf); av_freep(&ogg->streams[n].buf);
av_free(ogg->streams[n].private); av_freep(&ogg->streams[n].private);
} }
ogg->curidx = -1; ogg->curidx = -1;
ogg->nstreams = 0; ogg->nstreams = 0;