Re: [FFmpeg-devel] [PATCH 3/2] avcodec/sanm: codec37 buffers are private

2025-01-13 Thread Marton Balint
On Mon, 13 Jan 2025, Manuel Lauss wrote: codec37 operates on 2 buffers, which must be considered private to the codec and must therefore not be changed by subsequent FOBJs. Let codec37 therefore operate on frm1/2 instead of frm0/2, but copy the decoded image to frm0 where other codecs operat

[FFmpeg-devel] [PATCH 3/2] avcodec/sanm: codec37 buffers are private

2025-01-13 Thread Manuel Lauss
codec37 operates on 2 buffers, which must be considered private to the codec and must therefore not be changed by subsequent FOBJs. Let codec37 therefore operate on frm1/2 instead of frm0/2, but copy the decoded image to frm0 where other codecs operate on. Fixes artifacts encountered in Full Thro