[FFmpeg-trac] #3116(undetermined:new): resource leaks, handle leaks(WIN7, avcodec_decode_video2, threads)

FFmpeg trac at avcodec.org
Fri Nov 22 10:13:40 CET 2013

#3116: resource leaks,handle leaks(WIN7,avcodec_decode_video2,threads)
             Reporter:  q1q2q3q4ln   |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  handle       |               Resolution:
  leaks                              |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by djani.m):


 Here is promised example, due to file size I wasn't able to attach it. You
 can download it at

 I can't answer why leak is not noticeable in ffplay and ffmpeg, if I could
 do that than there would be no problem for me to fix it from my code :)

 There is one piece of information, my colleague and I have tested this on
 4 machines, 2 Win7 x64 and 2 XP machines. Interesting part is that on 1 XP
 machine we can't notice this leak, and on other 3 leak is noticeable.

 Proposed workaround solves problem on all machines.

 If you need more info or testing, I will gladly provide you all help that
 I can.

 Best Regards

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3116#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list