diff options
author | James Almer <jamrial@gmail.com> | 2024-02-06 19:50:33 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-02-07 11:31:33 -0300 |
commit | 7f92014acaadc739660c2cf35bde8e1c7e7aee36 (patch) | |
tree | 90823785b36d8f9e8dea12ea3d4e2ba55d9962ef /libavcodec/sparc | |
parent | bd3e71b21ec3786ec6fc00ef260af0150f31b71b (diff) | |
download | ffmpeg-7f92014acaadc739660c2cf35bde8e1c7e7aee36.tar.gz |
avcodec/nvdec: don't free NVDECContext->bitstream
Ensure all hwaccels that allocate a buffer use NVDECContext->bitstream_internal
instead. Otherwise, if FFHWAccel->end_frame() isn't called before
FFHWAccel->uninit(), an attempt to free a stale pointer to memory not owned by
the hwaccel could take place.
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/sparc')
0 files changed, 0 insertions, 0 deletions