[Ffmpeg-devel] [PATCH] Memory leaks...

Mat heavensdoor78
Tue Sep 27 13:11:26 CEST 2005


Patch from CVS 2005_09_27

Some notes:
- the changes I proposed in  output_example.c  were incorrect (wrong 
place), now I think they are ok
- I tested this formats only: AVI (video:mp4,audio:mp2), MOV 
(video:mp4), VOB (video:mpeg2video,audio:mp2), MPEG 
(video:mpeg1video,audio:mp2)
- Burkhard reports the same leaks in alaw/ulaw encoders - neither I use 
that codecs and I can't test/make a patch
- about  mpegaudiodec.c  ... I noticed the leak with  apiexample.c  
probably because  mpegaudiodec  is used there. I already proposed to 
explicity clean the memory in the local scope adding  
av_free(code_table);  before closing the for in the row 372. I tested it 
and it works (no leaks) but I'm not sure of this change so I didn't 
include it in the patch. Martin knows this

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mat.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050927/e694dfbc/attachment.txt>



More information about the ffmpeg-devel mailing list