[FFmpeg-trac] #5027(avcodec:new): avcodec_free_context frees extradata
FFmpeg
trac at avcodec.org
Tue Nov 24 00:25:27 CET 2015
#5027: avcodec_free_context frees extradata
-------------------------------------+-----------------------------------
Reporter: jyavenard | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by cehoyos):
Replying to [comment:2 squelart]:
> But I agree with jyavenard that a replacement API avcodec_free_context2
that respects the external ownership of extradata would be more consistent
with the documentation and other functions.
Wouldn't this new function avcodec_free_context2() always lead to a
memleak? What would be its usecase?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5027#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list