#1357: Memleak when avformat_open_input used together with avio_context
-------------------------------------+-------------------------------------
             Reporter:  xire         |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:  invalid
             Keywords:  leak         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by mkver):

 * resolution:   => invalid
 * status:  new => closed

Comment:

 Not a bug: When using custom IO via a preallocated AVIOContext, the user
 is supposed to free the AVIOContext himself (as you do (although this
 should be done via avio_context_free()) and this includes freeing the
 corresponding read buffer (which you only free if one uncomments these
 three lines which makes the leak go away).
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/1357#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to