[FFmpeg-trac] #10079(avcodec:new): libavcodec crash when decoding RTSP stream with VideoToolbox
FFmpeg
trac at avcodec.org
Sun Nov 27 12:48:04 EET 2022
#10079: libavcodec crash when decoding RTSP stream with VideoToolbox
-------------------------------------+-------------------------------------
Reporter: Alessandro | Type: defect
Status: new | Priority: important
Component: avcodec | Version: git-
Keywords: crash | master
videotoolbox rtsp ios | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
When using FFmpeg libavcodec to decode an RTSP stream on iOS, the library
crashes when invoking `videotoolbox_decoder_callback`: the `VTcontext`
pointer is null!
How to reproduce:
Reproduced this behavior on all the latest stable versions as well as
master (commit
[https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/14c60935280d81d333ba9e19f0ebd39f16d8c778
14c6093528]).
Using RTSP test stream from `rtsp://rtsp.stream/pattern`.
It seems this commit
[https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/768d4c2e2ad17fb275f8e6f9e1ecdab0c16e979e
768d4c2e2a] introduced the issue.
The decoding works fine, when using versions before this commit.
I'll try to submit a patch to ffmpeg-devel mailing list.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10079>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list