Originally committed as revision 14003 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-06-26 23:02:42 +00:00
parent 435a6082f9
commit 66602c67be
1 changed files with 5 additions and 0 deletions

View File

@ -242,6 +242,11 @@ static int str_read_packet(AVFormatContext *s,
static int str_read_close(AVFormatContext *s)
{
StrDemuxContext *str = s->priv_data;
int i;
for(i=0; i<32; i++){
if(str->channels[i].tmp_pkt.data)
av_free_packet(&str->channels[i].tmp_pkt);
}
return 0;
}