libavcodec: memory leak at libavcodec/utils.c:unrefcount_frame
|Reported by:||faham||Owned by:|
|Cc:||firstname.lastname@example.org, Michael Niedermayer||Blocked By:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
I'm using ffmpeg (revision: ecafde6606a51c285ed7ca4d27697392b493919e) to playback HD audio (ac3) contents for more than a few hours (long-term runs) and observe a mem leak in ffmpeg/libavcodec/utils.c:2287 inside unrefcount_frame.
It looks like the call to av_frame_copy_props() is leading to the leak, I'm not sure if it is necessary to do this operation or not but by removing that line the mem leak goes away. Can find further info in the attached valgrind-massif output.