Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Only allocate ThreadFrames for the decoder

2022-09-05 Thread Andreas Rheinhardt
Andreas Rheinhardt: > The FFV1 decoder only uses the last frame's data to conceal > errors. The encoder does not have this problem and therefore > only uses the current frame and none of the ThreadFrames. > So only allocate them for the decoder. > > Signed-off-by: Andreas Rheinhardt > --- > liba

[FFmpeg-devel] [PATCH] avcodec/ffv1: Only allocate ThreadFrames for the decoder

2022-09-04 Thread Andreas Rheinhardt
The FFV1 decoder only uses the last frame's data to conceal errors. The encoder does not have this problem and therefore only uses the current frame and none of the ThreadFrames. So only allocate them for the decoder. Signed-off-by: Andreas Rheinhardt --- libavcodec/ffv1.c| 13 -