Re: [FFmpeg-devel] [PATCH 17/39] lavc/ffv1: always use the main context values of ac

2024-07-24 Thread Michael Niedermayer
On Tue, Jul 16, 2024 at 07:11:32PM +0200, Anton Khirnov wrote: > It cannot change between slices. that is true currently but considering that its used in some of the inner loops i dont think carrying an additional pointer around into these loops makes sense either leave it or move the ac value to

[FFmpeg-devel] [PATCH 17/39] lavc/ffv1: always use the main context values of ac

2024-07-16 Thread Anton Khirnov
It cannot change between slices. --- libavcodec/ffv1.c | 6 +++--- libavcodec/ffv1dec.c | 14 ++ libavcodec/ffv1dec_template.c | 6 +++--- libavcodec/ffv1enc.c | 6 +++--- libavcodec/ffv1enc_template.c | 4 ++-- 5 files changed, 17 insertions(+), 19 de