fixed memory free

Originally committed as revision 552 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard 2002-05-20 19:43:20 +00:00
parent 57060b1ec7
commit 754ebe3465

View File

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