diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-09-02 22:21:27 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-09-06 09:42:34 +0200 |
commit | 3bc28e9d1ab33627cea3c632dd6b0c33e22e93ba (patch) | |
tree | d8a62b7561111a60b66f09f7ac3ef81c72415249 /libavformat/avr.c | |
parent | 491bf78721c25fe56ab65a21842e89f5ca501506 (diff) | |
download | ffmpeg-3bc28e9d1ab33627cea3c632dd6b0c33e22e93ba.tar.gz |
lavc/pthread_frame: avoid leaving stale hwaccel state in worker threads
This state is not refcounted, so make sure it always has a well-defined
owner.
Remove the block added in 091341f2ab5bd35ca1a2aae90503adc74f8d3523, as
this commit also solves that issue in a more general way.
(cherry picked from commit cc867f2c09d2b69cee8a0eccd62aff002cbbfe11)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit 35aa7e70e7ec350319e7634a30d8d8aa1e6ecdda)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/avr.c')
0 files changed, 0 insertions, 0 deletions