Browse Source

fixed memory free

Originally committed as revision 552 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Fabrice Bellard 23 years ago
parent
commit
754ebe3465
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libav/mpegts.c

+ 1
- 1
libav/mpegts.c View File

@@ -294,7 +294,7 @@ static int mpegts_read_close(AVFormatContext *s)
MpegTSContext *ts = s->priv_data; MpegTSContext *ts = s->priv_data;
int i; int i;
for(i=0;i<NB_PID_MAX;i++) for(i=0;i<NB_PID_MAX;i++)
av_freep(ts->pids[i]);
av_free(ts->pids[i]);
return 0; return 0;
} }




Loading…
Cancel
Save