I cloned the repository and build VLC from sources used commit git commit 0baad719c5fc47caee6e3429128800a8e1edc6f0.
It took a little longer than I expected to carry out a successful build. But I did it.
My OS is Ubuntu 14.04 x64.
I ran vlc under the valgrind to determine memory leaks by command:
Code: Select all
./vlc --intf rc file:///<path_to_small_video.avi>
I tried start playing for 8 times and see increasion of memory definitily lost (476K). Here is summary:
Code: Select all
==30223== 475,964 bytes in 463 blocks are definitely lost in loss record 187 of 187
==30223== at 0x4C2CC70: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==30223== by 0x1ABEE158: lavc_CopyPicture (video.c:253)
==30223== by 0x1ABEE158: DecodeVideo (video.c:815)
==30223== by 0x5876184: DecoderDecodeVideo (decoder.c:976)
==30223== by 0x5877CAB: DecoderProcessVideo (decoder.c:1036)
==30223== by 0x5877CAB: DecoderProcess (decoder.c:1350)
==30223== by 0x5877CAB: DecoderThread (decoder.c:1500)
==30223== by 0x505D181: start_thread (pthread_create.c:312)
==30223== by 0x557147C: clone (clone.S:111)
I think this information should be useful for someone who knows more then I about vlc development.