[FFmpeg-trac] #7484(avcodec:new): av_packet_ref(): Allocates array on zero src size
FFmpeg
trac at avcodec.org
Sat Jan 26 17:42:19 EET 2019
#7484: av_packet_ref(): Allocates array on zero src size
------------------------------------+-----------------------------------
Reporter: zerodefect | 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 |
------------------------------------+-----------------------------------
Changes (by cehoyos):
* version: => git-master
Comment:
Why do you believe the current behaviour is wrong? Is it documented
differently?
It seems that at least ff_read_packet() expects the current behaviour when
doing `err = av_packet_make_refcounted(pkt);`
If you want fix the failing fate tests, you can replace `return
AVERROR(EINVAL)` with `abort()` to find the offending calls.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7484#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list