You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
oggdec: use av_freep() instead of av_free()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user