You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
memleak
Originally committed as revision 14003 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -242,6 +242,11 @@ static int str_read_packet(AVFormatContext *s,
|
|||||||
static int str_read_close(AVFormatContext *s)
|
static int str_read_close(AVFormatContext *s)
|
||||||
{
|
{
|
||||||
StrDemuxContext *str = s->priv_data;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user