[FFmpeg-trac] #3194(avcodec:new): valgrind leak on example package

FFmpeg trac at avcodec.org
Wed Dec 4 18:01:24 CET 2013


#3194: valgrind  leak on example package
---------------------------------+-----------------------------------
             Reporter:  andreyv  |                    Owner:
                 Type:  defect   |                   Status:  new
             Priority:  normal   |                Component:  avcodec
              Version:  2.1.1    |               Resolution:
             Keywords:  leak     |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+-----------------------------------

Comment (by cehoyos):

 Why do you use {{{--enable-memalign-hack}}} ?
 Please also remove {{{--enable-pthreads --enable-nonfree}}} from your
 configure line, both have no effect.

 The relevant part of your valgrind output is:
 {{{
 ==19116== 56 bytes in 1 blocks are possibly lost in loss record 1 of 1
 ==19116==    at 0x402BE68: malloc (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==19116==    by 0x86816B0: av_malloc (mem.c:86)
 ==19116==    by 0x808CB82: video_decode_example (decoding_encoding.c:557)
 ==19116==    by 0x808CC9B: main (decoding_encoding.c:635)
 }}}
 Line 557 of decoding_encoding.c does not contain a call to av_malloc() or
 do I miss something?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3194#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list