[Ffmpeg-devel] possible memory leak?
Måns Rullgård
mru
Sun Jan 22 21:08:03 CET 2006
Zoltan NAGY <nagyz at nefty.hu> writes:
> ==24793== 84,329 (83,208 direct, 1,121 indirect) bytes in 72 blocks
> are definitely lost in loss record 9 of 9
> ==24793== at 0x401CA6B: memalign (vg_replace_malloc.c:332)
> ==24793== by 0x40E374E: av_malloc (in /usr/local/lib/libavcodec-CVS.so)
> ==24793== by 0x403F3D5: av_new_packet (in
> /usr/local/lib/libavformat-CVS.so)
> ==24793== by 0x408EE37: rtp_parse_packet (in
> /usr/local/lib/libavformat-CVS.so)
> ==24793== by 0x408CF49: (within /usr/local/lib/libavformat-CVS.so)
> ==24793== by 0x404034A: (within /usr/local/lib/libavformat-CVS.so)
> ==24793== by 0x804893D: main (avcodec_sample.0.4.9.cpp:44)
>
> so basically it sais I didnt free the result of av_read_frame(). but I did!
> (line 44 is while(av_read_frame(..)))
Could you run this with debug symbols for libavformat? It's a little
difficult to see what's going on without line numbers.
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list