#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):
I see the following ways to fix this:
1) Restrict to use the API with not reference-counted packets by updating
documentation and\or adding asserts validation for reference-countness.
2) Create referenced-counted copy of not reference-counted packets and
leave ownership to the caller. Update documentation.
3) Change API to always leave paket ownership to the caller. Update
documentation.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5551#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac