#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
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac

Reply via email to