]> git.sesse.net Git - ffmpeg/commitdiff
fixed memory free
authorFabrice Bellard <fabrice@bellard.org>
Mon, 20 May 2002 19:43:20 +0000 (19:43 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Mon, 20 May 2002 19:43:20 +0000 (19:43 +0000)
Originally committed as revision 552 to svn://svn.ffmpeg.org/ffmpeg/trunk

libav/mpegts.c

index 0c51ae1cadf20174415410d684c81881b9e435d1..54426d721ae0feffb8456ff16efdb4aa8ef3962a 100644 (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;
 }