Re: [FFmpeg-trac] #1357(undetermined:closed): Memleak when avformat_open_input used together with avio_context
#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
participants (1)
-
FFmpeg