Baptiste Coudurier <[email protected]> added the comment:
Confirmed: valgrind --show-reachable=yes --track-origins=yes --leak-check=full ~/src/ffmpeg/debug/ffmpeg_g -i sample.m2ts ==24130== ==24130== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 39 from 1) ==24130== malloc/free: in use at exit: 189,440 bytes in 54 blocks. ==24130== malloc/free: 1,892 allocs, 1,838 frees, 22,792,911 bytes allocated. ==24130== For counts of detected errors, rerun with: -v ==24130== searching for pointers to 54 not-freed blocks. ==24130== checked 5,234,392 bytes. ==24130== ==24130== 13,312 bytes in 11 blocks are still reachable in loss record 1 of 2 ==24130== at 0x402601E: malloc (vg_replace_malloc.c:207) ==24130== by 0x402619F: realloc (vg_replace_malloc.c:429) ==24130== by 0x84B10EC: av_realloc (mem.c:118) ==24130== by 0x84571FB: ff_realloc_static (bitstream.c:56) ==24130== by 0x8457680: alloc_table (bitstream.c:132) ==24130== by 0x8457701: build_table (bitstream.c:155) ==24130== by 0x8457C4E: init_vlc_sparse (bitstream.c:305) ==24130== by 0x83DC9DF: x8_vlc_init (intrax8.c:56) ==24130== by 0x83DF31B: ff_intrax8_common_init (intrax8.c:670) ==24130== by 0x83DB8D4: vc1_decode_init (vc1.c:4050) ==24130== by 0x80F8DA8: avcodec_open (utils.c:476) ==24130== by 0x8064E25: try_decode_frame (utils.c:1875) ==24130== ==24130== ==24130== 176,128 bytes in 43 blocks are still reachable in loss record 2 of 2 ==24130== at 0x402613C: realloc (vg_replace_malloc.c:429) ==24130== by 0x84B10EC: av_realloc (mem.c:118) ==24130== by 0x84571FB: ff_realloc_static (bitstream.c:56) ==24130== by 0x8457680: alloc_table (bitstream.c:132) ==24130== by 0x8457701: build_table (bitstream.c:155) ==24130== by 0x8457B02: build_table (bitstream.c:234) ==24130== by 0x8457C4E: init_vlc_sparse (bitstream.c:305) ==24130== by 0x83DC9DF: x8_vlc_init (intrax8.c:56) ==24130== by 0x83DF31B: ff_intrax8_common_init (intrax8.c:670) ==24130== by 0x83DB8D4: vc1_decode_init (vc1.c:4050) ==24130== by 0x80F8DA8: avcodec_open (utils.c:476) ==24130== by 0x8064E25: try_decode_frame (utils.c:1875) ==24130== ==24130== LEAK SUMMARY: ==24130== definitely lost: 0 bytes in 0 blocks. ==24130== possibly lost: 0 bytes in 0 blocks. ==24130== still reachable: 189,440 bytes in 54 blocks. ==24130== suppressed: 0 bytes in 0 blocks. ____________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/roundup/ffmpeg/issue899> ____________________________________________________
