Re: [FFmpeg-devel] [PATCH 07/14] avcodec/ffv1dec: Don't copy fields unnecessarily

2021-04-25 Thread Michael Niedermayer
On Sat, Apr 24, 2021 at 01:14:39PM +0200, Andreas Rheinhardt wrote: > Copy slice-only fields only for the slicecontexts and not for the main > contexts in update_thread_context(). The converse is true for e.g. > key_frame_ok which is only used with the main context; when not doing > frame-threaded

[FFmpeg-devel] [PATCH 07/14] avcodec/ffv1dec: Don't copy fields unnecessarily

2021-04-24 Thread Andreas Rheinhardt
Copy slice-only fields only for the slicecontexts and not for the main contexts in update_thread_context(). The converse is true for e.g. key_frame_ok which is only used with the main context; when not doing frame-threaded decoding it is actually only ever set for the main context, so not setting i