[FFmpeg-trac] #1861(avutil:new): av_lockmgr_register doesn't destroy the mutex

FFmpeg trac at avcodec.org
Mon Oct 29 09:43:00 CET 2012


#1861: av_lockmgr_register doesn't destroy the mutex
-------------------------------------+-------------------------------------
             Reporter:  John         |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  critical     |                Component:  avutil
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
  av_lockmgr_register                |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by heleppkes):

 And how would it know that you're done using it?
 For all it knows, you may continue calling the APIs at any moment.

 When your application closes, just call the register function with a NULL
 argument, and it will destroy the mutex.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1861#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list