FFmpegfs Fuse Multi Media Filesystem 2.16
Bug List
Member FFmpeg_Transcoder::open_input_file (LPVIRTUALFILE virtualfile, std::shared_ptr< FileIO > fio=nullptr)
Fix memory leak: Probably in FFmpeg API av_probe_input_buffer2(), the av_reallocp is missing a matching free() call...

102,400 bytes in 1 blocks are definitely lost in loss record 248 of 249
in FFmpeg_Transcoder::open_input_file(VIRTUALFILE*, FileIO*) in /home/norbert/dev/prj/ffmpegfs/src/ffmpeg_transcoder.cc:368
1: realloc in ./coregrind/m_replacemalloc/vg_replace_malloc.c:834
2: av_realloc_f in /usr/lib/x86_64-linux-gnu/libavutil.so.56.51.100
3: /usr/lib/x86_64-linux-gnu/libavformat.so.58.45.100
4: av_probe_input_buffer2 in /usr/lib/x86_64-linux-gnu/libavformat.so.58.45.100
5: avformat_open_input in /usr/lib/x86_64-linux-gnu/libavformat.so.58.45.100
6: FFmpeg_Transcoder::open_input_file(VIRTUALFILE*, FileIO*) in /home/norbert/dev/prj/ffmpegfs/src/ffmpeg_transcoder.cc:368
7: transcoder_predict_filesize(VIRTUALFILE*, Cache_Entry*) in /home/norbert/dev/prj/ffmpegfs/src/transcode.cc:320
8: transcoder_new(VIRTUALFILE*, bool) in /home/norbert/dev/prj/ffmpegfs/src/transcode.cc:425
9: ffmpegfs_getattr(char const*, stat*) in /home/norbert/dev/prj/ffmpegfs/src/fuseops.cc:1323
10: /usr/lib/x86_64-linux-gnu/libfuse.so.2.9.9
11: /usr/lib/x86_64-linux-gnu/libfuse.so.2.9.9
12: /usr/lib/x86_64-linux-gnu/libfuse.so.2.9.9
13: /usr/lib/x86_64-linux-gnu/libfuse.so.2.9.9
14: start_thread in ./nptl/pthread_create.c:477
15: clone in ./misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95