[FFmpeg-trac] #5551(avcodec:new): av_bsf_send_packet can't take ownership on not reference-counted packets
FFmpeg
trac at avcodec.org
Fri May 13 13:12:14 CEST 2016
#5551: av_bsf_send_packet can't take ownership on not reference-counted packets
------------------------------------+-----------------------------------
Reporter: mrlika | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by mrlika):
Replying to [comment:2 gjdfgh]:
> Simple: don't pass non-refcounted packets to these APIs.
Yes it is simple but not obvious unless you investigate the source code.
And in this case it is better to validate input packets for reference-
countness.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5551#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list