aboutsummaryrefslogtreecommitdiffstats
path: root/tools/crypto_bench.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-03-22 20:59:13 +0100
committerAnton Khirnov <anton@khirnov.net>2024-03-28 08:40:01 +0100
commite1f384adbf6b55523ec6f4d8592f41dee31aec1d (patch)
tree6489f3ec266f3cd7a590b72254b4d6608f92ce6c /tools/crypto_bench.c
parent198a7788e759ee8bb8d07e6cd45aee5f2998bdf5 (diff)
downloadffmpeg-e1f384adbf6b55523ec6f4d8592f41dee31aec1d.tar.gz
lavc/frame_thread_encoder: avoid assigning a whole AVCodecContext
It is highly unsafe, as AVCodecContext contains many allocated fields. Almost everything needed by worker threads should be covered by routing through AVCodecParameters and av_opt_copy(), except for a few fields that are copied manually. avcodec_free_context() can now be used for per-thread contexts.
Diffstat (limited to 'tools/crypto_bench.c')
0 files changed, 0 insertions, 0 deletions