<div dir="ltr">Hi,<div><br></div><div>Recently when utilizing ffmpeg to decode av1 codec video, I started seeing weird errors when transitioning from single threaded implementation to multi threaded one. av_read_frame started failing, because the context got its priv_data set to NULL (there were no lines except thread initialization between the lineĀ I observed NULL on and the line where it was non-NULL). Does ffmpeg somehow differentiate between which thread it is run on and what can I do to preserve correctness of my program?</div></div>