[FFmpeg-trac] #5551(avcodec:closed): av_bsf_send_packet can't take ownership on not reference-counted packets
FFmpeg
trac at avcodec.org
Sun Mar 1 09:43:34 EET 2020
#5551: av_bsf_send_packet can't take ownership on not reference-counted packets
------------------------------------+-----------------------------------
Reporter: mrlika | Owner:
Type: defect | Status: closed
Priority: normal | Component: avcodec
Version: git-master | Resolution: fixed
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Changes (by mkver):
* status: new => closed
* resolution: => fixed
Comment:
Since ed1f08bfb5500340463e630290360609a90d2886, a copy of the data of non-
refcounted packets is made, i.e. your second option has been implemented.
And h264/hevc_mp4toannexb called (and call) av_grow_packet() on the output
packet, not the input packet. So there is no danger of memleaks by this.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5551#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list